上一页 1 ··· 474 475 476 477 478 479 480 481 482 ··· 495 下一页
摘要: In Modex, there are three tabs: Resoources, Elements & FilesFirst: 'Files' is the place where to put javascript, css & images. I also want to put font... 阅读全文
posted @ 2014-12-19 19:22 Zhentiw 阅读(155) 评论(0) 推荐(0)
摘要: You can use ngModel in your own directives, but there are a few things you'll need to do to get it working properly.ngModel itself is an directive. If... 阅读全文
posted @ 2014-12-19 05:42 Zhentiw 阅读(481) 评论(0) 推荐(0)
摘要: Directive can use another directive though 'require' keyword.angular.module('docsTabsExample', []).directive('myTabs', function() { return { restr... 阅读全文
posted @ 2014-12-19 05:21 Zhentiw 阅读(238) 评论(0) 推荐(0)
摘要: We have code like:var numbers = [1,2,3];for(var i in numbers){ setTimeout(function(){console.log(numbers[i]); }, 0);}//3//3//3Note:1. function... 阅读全文
posted @ 2014-12-17 18:47 Zhentiw 阅读(345) 评论(0) 推荐(0)
摘要: The ui-router library for AngularJS provides the ability to name views within your application. This is useful for dividing up your application into s... 阅读全文
posted @ 2014-12-17 17:03 Zhentiw 阅读(740) 评论(0) 推荐(0)
摘要: ui-router has the powerful ability to define abstract states, or states that can't be navigated to, but are useful for defining a set of states with s... 阅读全文
posted @ 2014-12-17 03:30 Zhentiw 阅读(850) 评论(0) 推荐(0)
摘要: 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 阅读(434) 评论(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 阅读(1184) 评论(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 阅读(1024) 评论(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 阅读(593) 评论(0) 推荐(0)
上一页 1 ··· 474 475 476 477 478 479 480 481 482 ··· 495 下一页