随笔分类 - AngularJS RESTful
摘要:Up to this point, we have created an effective, yet rudimentary, implementation of Redux by manually creating an application store, reducers and actio
阅读全文
摘要:When you uglify your Angular code with Webpack's uglify plugin, debugging your application can be a nightmare. See how easy it is to add source maps t...
阅读全文
摘要:$resource RefactorLet's convert our custom Note factory to use Angular resource. Removeall(),find(), andcreate()methods from ourNoteservice and replac...
阅读全文
摘要:From:http://rangle.io/blog/two-ways-to-build-a-location-picker-for-a-mobile-angularjs-application/Building mobile apps often requires working with loc...
阅读全文
摘要:ui-router's states and AngularJS directives have much in common. Let's explores the similarities between the two and how these patterns have emerged i...
阅读全文
摘要:Currently, the server.js is going way too long. In the real world application, it is likely that we are going to deal with more routers, whichi means ...
阅读全文
摘要:For server.js, we update the code by using route instance. By using this, we can remove some duplicate code.For example:app.get('/people', function(re...
阅读全文
摘要:Front-end changes:app.js: Uinsg $resource/** * Created by Answer1215 on 12/9/2014. */'use strict';function MainCtrl(People) { var vm = this; vm....
阅读全文