controller共享数据
摘要:刚开始使用angularjs,能感受到他的强大,也在学习的途中遇到一些问题一般我们在angularjs中共享数据使用DI的方法,具体代码如下:这样使用有一个问题,从服务返回的对象只能绑定对象实现双向绑定,如果使用返回对象的属性进行绑定就会出现绑定不上的问题.如下controller('myContr...
阅读全文
posted @ 2015-03-25 23:28
i come from the other world,i will go back after the love,the regret,the alive and the dead are over
posted @ 2015-03-25 23:28