posts - 91,comments - 0,views - 84208

文章分类 -  angularJs

angularJs--Ui-Router详解
摘要:Module Configuration Configure your states in your module's config method. Be sure to include ui.router as a module dependency. angular.module("myApp" 阅读全文
posted @ 2016-02-23 14:29 苏荷酒吧 阅读(147) 评论(0) 推荐(0) 编辑
angularJs--Ui-Router
摘要:为什么使用Ui-Router 1、使用Ajax不会留下历史记录 2、用户无法通过URL进入到指定页面 3、Ajax对SEC是个灾难 ngRoute示例代码 app.config(function($routeProvider) { $routeProvider.when('/hello', { te 阅读全文
posted @ 2016-02-23 11:44 苏荷酒吧 阅读(153) 评论(0) 推荐(0) 编辑
angularJs--自定义指令
摘要:angular.module('myApp', []) .directive('myDirective', function() { return { restrict: String, priority: Number, terminal: Boolean, template: String or 阅读全文
posted @ 2016-02-19 16:44 苏荷酒吧 阅读(77) 评论(0) 推荐(0) 编辑
angularJs--指令
摘要:1、基础ng属性指令 ng-disabled http://jsbin.com/iHiYItu/1/edit ng-readonly Type here to make sibling readonly: <input type="text" ng-model="someProperty"><br/ 阅读全文
posted @ 2016-02-19 10:10 苏荷酒吧 阅读(142) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

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