阅读背景:

工厂函数不起作用,但在控制器中使用时起作用。为什么?

来源:互联网 

I have a function called updatedUser() that I defined in a factory. If I inject factory and assign the function to the scope to be used in the view and then invoke it, it doesn't work properly. I expect it to update the user. Instead it just creates a new user.I have a function called updatedUser() that I d




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

分享到: