With Angular scopes, you have access to a$destroyevent that can be used to watch $scope events. This is used for cleanup, and gives you a final opport...
分类:
Web程序 时间:
2014-11-29 08:24:13
阅读次数:
477
一. cgi用前面小节的req_resp.cpp, 这里略去cgi的编译和部署.二. 下面的几个文件在同一个目录.1. index.py 增加两处:(1) (r"/index.py/angularjs_cgi", AngularjsCgiHandler)(2)class AngularjsCgi.....
分类:
Web程序 时间:
2014-11-27 20:16:29
阅读次数:
339
AngularJS animations and TweenLite make it really easy to create cool 3d effects in your application. Hello Greensock! ...
分类:
Web程序 时间:
2014-11-27 18:15:33
阅读次数:
362
There are situations where you might want to add additional methods toangular.module. This is easy to accomplish, and can be a handy technique. //F...
分类:
Web程序 时间:
2014-11-27 18:02:33
阅读次数:
124
参考文章:http://www.jeasyuicn.com/demo/treeloadfilter.html 一、扩展原因 ztree使用了一种扁平化的数据加载方式,就是id(自身id),pid(父id)的方式,参考http://www.ztree.me/v3/demo.php#_102,于是扩展e...
分类:
Web程序 时间:
2014-11-27 14:43:58
阅读次数:
224
今年在HTML5开发中使用AngularJS框架,觉得MVVM的框架太方便了,双向绑定机制省去了很多繁琐的工作,于是想在新的Android项目也引入类似的MVVM框架,提高团队的开发效率和代码的工程化程度,然后就找到了RoboBinding这个框架,简单看了下感觉应该还算靠谱。
RoboBinding是一个实现了数据绑定 Presentation
Model(MVVM)
模式的And...
分类:
移动开发 时间:
2014-11-27 14:33:17
阅读次数:
365
下面的文件在同一目录下.myTodoApp.jsmyTodoCtrl.jsindex.pyangularjs_test.htmlindex.py中内容:import tornado.ioloopimport tornado.webclass MainHandler(tornado.web.Reque...
分类:
Web程序 时间:
2014-11-26 18:31:59
阅读次数:
152
$apply()和$digest()在AngularJS中是两个核心概念,但是有时候它们又让人困惑。而为了了解AngularJS的工作方式,首先需要了解$apply()和$digest()是如何工作的。这篇文章旨在解释$apply()和$digest()是什么,以及在日常的编码中如何应用它们。探索$...
分类:
移动开发 时间:
2014-11-26 18:16:52
阅读次数:
268
对有些图片的会被拖动的问题,是不是表示已经厌倦了
改变成用background-image的方式,找到图片的位置,放到标签中而不是中就可以愉快的解决这个问题啦~
注意要重新定位下,不然图片会到最上方去。
是不是棒棒哒?~...
分类:
其他好文 时间:
2014-11-26 11:34:16
阅读次数:
141
Module definitionsAngular modules can be declared in various ways, either stored in a variable or using the getter syntax. Use the getter syntax at al...
分类:
Web程序 时间:
2014-11-25 18:28:16
阅读次数:
128