tool: http://www.oschina.net/p/angularjs-eclipse module: Jasmine resource: 官方教程 http://woxx.sinaapp.com/ 种子项目 https://github.com/angular/angular-seed 开源中国的 AngularJS 优秀文章汇总 http...
分类:
Web程序 时间:
2014-10-22 18:38:39
阅读次数:
179
angular 获取浏览器的宽高:$window.innerWidth; //浏览器的宽$window.innerHeight; //浏览器的高jquery $ jqlite 获取鼠标相对于浏览器左上角的距离:e.pageX; //鼠标相对于浏览器左上角的left...
分类:
其他好文 时间:
2014-10-22 12:36:41
阅读次数:
214
利用angular resource加载priorityData.json中的json数据,结合D3画出甜甜圈图。运行index.html结果如图所示:
priorityData.json中json数据如下:
{
"priority":{
"Blocker":12,
"Critical":18,
"Major":5,
"Mi...
分类:
Web程序 时间:
2014-10-21 10:23:38
阅读次数:
342
前一篇文章说过,ng1.3+以后对于表单验证有了优化,它不再需要一个详细的表达式状态创建元素显示或隐藏。例如:我们在ng1.3之前的版本都需要如下写法:ng1.3之后新增了一个ngMessages指令,他被打包成一个模块发布,因此我们使用的时候只需要将这个依赖模块引入即可angular.module...
分类:
Web程序 时间:
2014-10-21 00:58:36
阅读次数:
366
近期项目中使用angular,结果发现后台没法获取參数,所以,略微研究了一下两者在发送ajax时的差别。注意angular和jquery的ajax请求是不同的。在jquery中,官方文档解释contentType默认是 application/x-www-form-urlencoded; chars...
分类:
Web程序 时间:
2014-10-20 20:50:01
阅读次数:
383
我一直想在一个页面的同一个 DIV 里面嵌入一个不同的 HTML文件 ....但是总是没有达到我要的效果.....才发现原来我没有加一个 name我用angular-ui 插件 里面的样式 总是没有跳转....1 2 3 State 14 State 2在app.js...
分类:
其他好文 时间:
2014-10-20 00:42:26
阅读次数:
1238
Bootstrap -- How tomanually initialize AngularHow to run function in angular controller on document ready?Angular.js - how to execute function on page...
分类:
其他好文 时间:
2014-10-19 22:56:59
阅读次数:
261
这个我是想用Angular写一个简单的WebApp,这个是一个简简单单路由:公共模板--index.html: 首页 松鼠闹IT 首页 列表 详情 演示 CSShtml,body,h1,h2,h3,h4,h5,h6,ul,dd...
分类:
其他好文 时间:
2014-10-19 18:22:54
阅读次数:
269
Here is the fiddlehttp://jsfiddle.net/lumixraku/xgLz7d4j/2/html {{item.sId}} ...
分类:
其他好文 时间:
2014-10-19 14:11:53
阅读次数:
155
转自:http://www.ibm.com/developerworks/lotus/library/rft-api/index.htmlThe Rational GUI automation tool has a wonderful recorder feature that records a ...
分类:
移动开发 时间:
2014-10-18 01:54:47
阅读次数:
438