摘要: https://github.com/vojtajina/ng-directive-testing/blob/start/test/tabsSpec.jshttp://plnkr.co/4F5VpN 阅读全文
posted @ 2013-01-31 13:38 smallg 阅读(93) 评论(0) 推荐(0) 编辑
摘要: http://docs.angularjs.org/guide/dev_guide.e2e-testing 阅读全文
posted @ 2013-01-29 18:00 smallg 阅读(125) 评论(0) 推荐(0) 编辑
摘要: http://code.google.com/p/wro4j/#wro.properties file#List of preProcessorspreProcessors=htmlCompressor.html, ngTemplate.html#,lessCss,cssImport,semicolonAppender#List of postProcessorspostProcessors=ngTemplates,cssMin,uglifyJs#wro.xml file<groups xmlns="http://www.isdc.ro/wro"> <gr 阅读全文
posted @ 2013-01-29 17:58 smallg 阅读(701) 评论(0) 推荐(0) 编辑
摘要: https://github.com/angular/angular.js/issues/943建议使用$scope.data={value:xxxxxx}在view中使用{{from.value}}http://jsfiddle.net/gwpxjb/Ekf52/ 阅读全文
posted @ 2013-01-24 11:25 smallg 阅读(110) 评论(0) 推荐(0) 编辑
摘要: <div ng-include src="'a.html'"></div>ngInclude|src – {string} – angular expression evaluating to URL. If the source is a string constant, make sure you wrap it in quotes, e.g. src="'myPartialTemplate.html'". 阅读全文
posted @ 2013-01-23 17:54 smallg 阅读(166) 评论(0) 推荐(0) 编辑