![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
angularjs
maggie03230
这个作者很懒,什么都没留下…
展开
-
restangular: Differences with $resource 接上篇Something about http request in angularjs
转自: Differences with $resource Restangular has several features that distinguish it from $resource: It uses promises. Instead of doing the "magic" filling of objects like $resource, it uses转载 2014-11-24 13:59:21 · 559 阅读 · 0 评论 -
How to conditionally apply CSS styles in AngularJS?
... HTML to display the item ...转载 2014-09-22 12:50:03 · 424 阅读 · 0 评论 -
How to use a keypress event in angularjs
转自:http://stackoverflow.com/questions/17470790/how-to-use-a-keypress-event-in-angularjs转载 2014-11-10 10:43:49 · 462 阅读 · 0 评论 -
Something about http request in angularjs
摘录自《angularJS权威教程》以及原创 2014-11-24 12:52:42 · 504 阅读 · 0 评论 -
angularjs 点击div外事件
1.在需要的controller中增加$window 2.增加监听$window.onclick = function(event) {} 例: xxx.controller('xxCtrl', ['$window', '$scope', function($window, $scope){ $window.onclick = function(event) {原创 2015-01-30 16:49:04 · 1488 阅读 · 0 评论 -
AngularJs clear input in ng-repeat
解决方案: 前台:原创 2014-08-12 23:06:19 · 502 阅读 · 0 评论 -
Angularjs ng-options用法
转载自:http://my.oschina.net/gejiawen0913/blog/188539 实例一:基本下拉效果 实例二:自定义下拉显示名称 实例三: 让选项分组 实例四:自定义ngModel的值 参考 select 是 AngularJS 预设的一组directive。下面是其官网api doc给出的用法:AngularJS:select转载 2015-03-09 13:52:01 · 665 阅读 · 1 评论