阅读背景:

在AngularJS中模拟服务以解耦REST调用的最佳方法

来源:互联网 

I am building a web application with AngularJS and have built out a AngularJS Service that my controller uses to create, retrieve, update, delete data from. I want to farm out the UI work to another developer, but I don't want them to require the dependencies that the AngularJS Service does. I'd like to build a Mock Service and just return mock data rather than call the live REST service.I am building a web application with AngularJS




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

分享到: