1、httpBasic.html: $http与后台数据交互 {{user.name}} 2、httpBasic.js:var myModule = angular.module("app",[]);myModule.controller('loadDataCtrl', ['$...
分类:
Web程序 时间:
2015-05-21 12:22:10
阅读次数:
162
Extending types is one of the ways that makes angular-formly help you keep your Angular forms DRY. When use responsibly, they can make it much easier ...
分类:
Web程序 时间:
2015-05-21 06:33:37
阅读次数:
142
Understanding Controllers (控制器) In Angular, a Controller is a JavaScript constructor function that is used to augment the Angular Scope.When a Control...
分类:
其他好文 时间:
2015-05-20 23:57:08
阅读次数:
148
ConceptualOverviewTemplate(模板):HTMLwithadditionalmarkup(就是增加了新的标记的HTML)Directive(指令):extendHTMLwithcustomattributesandelements(给HTML增加自定义属性和元素)Model(模...
分类:
其他好文 时间:
2015-05-20 23:45:48
阅读次数:
158
1、index.html: scopeEqual 控制器中的内容: 指令中的内容: 2、scopeEqual.js:var myModule = angular.module("app",[]);myModule.controller('myCtrl', ['$scope', functi...
分类:
Web程序 时间:
2015-05-20 13:05:56
阅读次数:
127
1,进入angular-phonecat目录 执行下面命令git checkout -f step-0然后访问http://localhost:8000/app/ 页面出现 “Nothing here yet!”现在就可以自己创建HTML,编写angular了app/index.html My...
分类:
Web程序 时间:
2015-05-20 12:54:25
阅读次数:
142
1、index.html: scopeAt 2、scopeAnd.js:var myModule = angular.module("app",[]);myModule.controller('myCtrl', ['$scope', function($scope){ $scope.sa...
分类:
Web程序 时间:
2015-05-20 12:50:58
阅读次数:
142
做项目中有遇见哪些困难? 1、比如angular来做单页面的跳转,前进和后退按钮使用不了 解决方案 2、还有别的吗 你有做过哪些前端性能优化? CDN挂载为什么不挂载整个应用? 逻辑题/算法题: 如何判断一个页面是osc...
分类:
其他好文 时间:
2015-05-20 11:30:48
阅读次数:
171
angular ui-bootstrap 日期控件如何显示成中文...
分类:
其他好文 时间:
2015-05-19 19:17:59
阅读次数:
1064
1、index.html: custom-directive 滑动加载2、directive-controller.js:var myModule = angular.module("app",[]);myModule.controller('myCtrl', ['$scope', func...
分类:
Web程序 时间:
2015-05-19 18:47:16
阅读次数:
176