随笔分类 -  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 阅读全文
posted @ 2016-11-10 16:38 Zhentiw 阅读(709) 评论(0) 推荐(0) 编辑
摘要: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... 阅读全文
posted @ 2015-09-10 16:19 Zhentiw 编辑
摘要:$resource RefactorLet's convert our custom Note factory to use Angular resource. Removeall(),find(), andcreate()methods from ourNoteservice and replac... 阅读全文
posted @ 2015-03-05 04:00 Zhentiw 编辑
摘要: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... 阅读全文
posted @ 2015-01-07 01:46 Zhentiw 编辑
摘要: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... 阅读全文
posted @ 2015-01-04 05:32 Zhentiw 编辑
摘要: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 ... 阅读全文
posted @ 2015-01-02 22:18 Zhentiw 编辑
摘要: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... 阅读全文
posted @ 2015-01-02 18:46 Zhentiw 编辑
摘要:Front-end changes:app.js: Uinsg $resource/** * Created by Answer1215 on 12/9/2014. */'use strict';function MainCtrl(People) { var vm = this; vm.... 阅读全文
posted @ 2014-12-28 04:34 Zhentiw 编辑

点击右上角即可分享
微信分享提示