上一页 1 ··· 446 447 448 449 450 451 452 453 454 ··· 458 下一页
摘要: In the previous post, we use $stateProvider deriect to root url and using MainCtrl, categories.tmpl.html. .config(function($stateProvider){ ... 阅读全文
posted @ 2014-11-04 21:31 Zhentiw 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 1. Install ui-route, include js file in html and add dependence in js file.bower install angular-ui-routerangular.module('Eggly', [ 'ui.router', ... 阅读全文
posted @ 2014-11-04 20:36 Zhentiw 阅读(386) 评论(0) 推荐(0) 编辑
摘要: Common models will be a sub models for category and bookmarks. Because they are used everywhere.For bookmarks edit and create, all they need is a comm... 阅读全文
posted @ 2014-11-03 18:25 Zhentiw 阅读(235) 评论(0) 推荐(0) 编辑
摘要: We build a project according to its features or based on simple MVC structure. Put all controller into one folder and factory into another folder is h... 阅读全文
posted @ 2014-11-03 18:03 Zhentiw 阅读(189) 评论(0) 推荐(0) 编辑
摘要: Question 1Note: In this question, all columns will be written in their transposed form, as rows, to make the typography simpler. Matrix M has three ro... 阅读全文
posted @ 2014-11-03 06:15 Zhentiw 阅读(953) 评论(0) 推荐(0) 编辑
摘要: File Read StreamLets use thefsmodule to read a file and log its contents to the console.Use thefsmodule to create aReadablestream forfruits.txt. Store... 阅读全文
posted @ 2014-11-02 23:17 Zhentiw 阅读(888) 评论(0) 推荐(0) 编辑
摘要: Chat EmitterWe're going to create a custom chat EventEmitter.Create a newEventEmitterobject and assign it to a variable called 'chat'.var chat = new E... 阅读全文
posted @ 2014-11-02 22:53 Zhentiw 阅读(660) 评论(0) 推荐(0) 编辑
摘要: Note: Can use $dirty to check whether user has intracted with the form:https://docs.angularjs.org/api/ng/type/form.FormControllerRead More:http://www.... 阅读全文
posted @ 2014-11-02 00:18 Zhentiw 阅读(607) 评论(0) 推荐(0) 编辑
摘要: Set up server for JWT Authentication 1. require express 2. require faker: If faker is not install yet, do: npm install express faker // faker is what 阅读全文
posted @ 2014-10-15 22:32 Zhentiw 阅读(1375) 评论(0) 推荐(0) 编辑
摘要: Better use @extend with % placeholder.Extend is useful when you want to reuse some of you class. Always use % placeholder.EXTEND IIt looks like.bluepr... 阅读全文
posted @ 2014-09-17 01:46 Zhentiw 阅读(413) 评论(0) 推荐(0) 编辑
上一页 1 ··· 446 447 448 449 450 451 452 453 454 ··· 458 下一页