阅读背景:

在ngView - Angularjs中动态添加新表单字段

来源:互联网 

I use routing to load different templates into a ngView. One of the templates has a simple controller which contains an array of contacts. What I'm trying to do here is as simple as by clicking a link (ngclick) call a function and add a new object into the array which I expect will be reflected in my UI. I use routing to load different templates into




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: