上一页 1 ··· 445 446 447 448 449 450 451 452 453 ··· 466 下一页
摘要: Introduce to basic $stateProvider.state() with $stateParams services. Understand how nested router works.Key Value:ng-href="#/list/{{item.name}}".stat... 阅读全文
posted @ 2014-12-16 23:42 Zhentiw 阅读(420) 评论(0) 推荐(0) 编辑
摘要: By default your HTTP requests with the $https service in Angular arenotcached. By setting some options, you can turn caching on./** * Created by Answe... 阅读全文
posted @ 2014-12-15 23:57 Zhentiw 阅读(1167) 评论(0) 推荐(0) 编辑
摘要: TimelineLite is a piece of the Greensock TweenMax library that provides the ability to create sequenced animation with very little code or setup.Key v... 阅读全文
posted @ 2014-12-15 17:41 Zhentiw 阅读(1008) 评论(0) 推荐(0) 编辑
摘要: /* 1. Query Operators*/db.posts.find({ viewsCount: {$get: 1000, $lte: 3000}}, {_id: 0, viewsCount: 1, title: 1})// $indb.posts.find({ categor... 阅读全文
posted @ 2014-12-14 18:09 Zhentiw 阅读(582) 评论(0) 推荐(0) 编辑
摘要: Directives have dependencies too, and you can use dependency injection to provide services for your directives to use.Bad: If you want to use in anot... 阅读全文
posted @ 2014-12-13 21:26 Zhentiw 阅读(377) 评论(0) 推荐(0) 编辑
摘要: MongoDB is JSON Document:How to start MongoDB client:mongod //start the servermongo // start the cliHow to restore a database:mongorestorecan create a... 阅读全文
posted @ 2014-12-12 05:11 Zhentiw 阅读(389) 评论(0) 推荐(0) 编辑
摘要: In the previous code, both categories and bookmarks are binded to $rootscope, or let says the same scope.eggly-app.js:angular.module('Eggly', [ 'ui... 阅读全文
posted @ 2014-12-11 17:39 Zhentiw 阅读(214) 评论(0) 推荐(0) 编辑
摘要: Browserify allows you to leverage 10s of thousands of javascript modules available in the Node Package Manager (npm) in your browser apps.Notice:// Wh... 阅读全文
posted @ 2014-12-10 20:52 Zhentiw 阅读(215) 评论(0) 推荐(0) 编辑
摘要: Browserify is a tool that brings node.js style development to the browser.The thing you can see on the node.js cmd line can also be broung up to the b... 阅读全文
posted @ 2014-12-10 20:42 Zhentiw 阅读(404) 评论(0) 推荐(0) 编辑
摘要: Mongoose allows you to easily select resources by ID from your MongoDB. This is an important aspect to creating an API.Server.js'use strict';var expre... 阅读全文
posted @ 2014-12-10 06:16 Zhentiw 阅读(297) 评论(0) 推荐(0) 编辑
上一页 1 ··· 445 446 447 448 449 450 451 452 453 ··· 466 下一页