![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
AngularJS
文章平均质量分 57
I_LOVE_US
这个作者很懒,什么都没留下…
展开
-
Understanding AngularJS Scopes
Executive Summary:In AngularJS, a child scope normally prototypically inherits from its parent scope. One exception to this rule is a directive that uses scope: { ... } -- this creates an "isola转载 2014-05-29 15:44:34 · 316 阅读 · 0 评论 -
ng-repeat filter
ng-repeat="product in products | filter:{ colour: by_colour }">翻译 2014-06-23 08:57:55 · 707 阅读 · 0 评论 -
关于angularjs在IE11里的坑——F12工具打开,功能正常,关闭之后,angularjs not working
前端时间在做项目的时候,用到了angularjs,期间,发现了一个奇葩的问题,就是在IE11浏览器下,点击下方图1上箭头所示的位置,将此处的开关变为图2中箭头所示的样子,但是发觉没有反应,开关还是灰色的,只有打开F12开发者工具的时候,开关按钮就变为绿色打开状态了。图1图2后来发现在F12没有打开时点击按钮时后台请求成功后,重新获取列表的请求根本没有发送,也就是说get请求转载 2015-08-11 16:43:54 · 3515 阅读 · 0 评论 -
angularjs常用代码块
功能代码页面路由var app = angular.module('MyApp', ['ngResource','ngRoute','ngGrid']).config(function ($routeProvider) { $routeProvider .when('/store', { templateUrl: 'page/store.html',转载 2015-09-02 14:11:57 · 409 阅读 · 0 评论 -
AngularJS去掉的URL里的#号
前言天天都在用AngularJS,各类文档也都看过好几遍,但总是些编程上的事找不到优雅的解决办法。今天终于把AngularJS的项目访问路径URL里的#号去掉了,这个问题不见得有多难,关键是花多长时间去理解AngularJS框架本身。目录URL的#号问题找到错误原因静态网站的解决方案动态网站的解决方案1. URL的#号问题使用AngularJS的转载 2015-12-07 15:44:28 · 3053 阅读 · 0 评论