随笔分类 -  angularJS

摘要:mongo + express + ng2 + node tasklis 实践 http://yuluhuang.github.io/ 阅读全文
posted @ 2016-10-23 21:50 yuluhuang 阅读(114) 评论(0) 推荐(0)
摘要:日渐感觉测试的重要性,不仅保证产品的质量,对以后重构提供保障Karma的安装就不说了npminstall -gkarma-clinpminstall -g karma配置文件 1 module.exports = function (config) { 2 config.set({ 3 4... 阅读全文
posted @ 2014-12-20 10:59 yuluhuang 阅读(325) 评论(0) 推荐(0)
摘要:两个网址http://www.gruntjs.org/docs/getting-started.htmlhttp://gruntjs.com/plugins步骤:1.cd demo文件夹下2.安装grunt-clinpm install -g grunt-cli //全局安装 -g3.手动生产或自... 阅读全文
posted @ 2014-09-15 19:33 yuluhuang 阅读(777) 评论(0) 推荐(0)
摘要:秋:技术不太行,胜在够便宜可能存在的问题:https://www.v2ex.com/t/122928七牛官方文档:http://developer.qiniu.com/docs/v6/sdk/csharp-sdk.html1.源码下载http://github.com/qiniu/csharp-sd... 阅读全文
posted @ 2014-08-11 10:45 yuluhuang 阅读(495) 评论(0) 推荐(0)
摘要:'''新建一项目'''1.django-admin.py startproject name2.django-admin.py startapp name'''同步数据库登录admin没有表:需在admin.py注册'''3.python manage.py syncdb'''django1.6.2... 阅读全文
posted @ 2014-04-23 21:09 yuluhuang 阅读(1166) 评论(0) 推荐(0)
摘要:Therestrictoption is typically set to:'A'- only matches attribute name'E'- only matches element name'AE'- matches either attribute or element nameLet's change our directive to userestrict: 'E':1. index2.html 1 2 3 4 5 6 7 8 9 10 11 12 13 main2.js1 var app=angular. 阅读全文
posted @ 2014-01-04 15:33 yuluhuang 阅读(263) 评论(0) 推荐(0)
摘要:ng-click 1 2 3 4 5 6 7 8 9 10 {{js.name}}-{{js.city}}11 测试12 13 14 15 16 View Code 阅读全文
posted @ 2014-01-02 13:43 yuluhuang 阅读(140) 评论(0) 推荐(0)
摘要:index.html 1 2 3 4 Using Angular JS Directives and Data Binging 5 6 7 8 9 10 11 12 61 62 63 View Code view1 1 2 View 1 3 Name: 4 5 6 7 8 {{cust.name}} 9 10 11 Customer Name:12 13 14 Customer City:15 16 Add Cu... 阅读全文
posted @ 2014-01-01 10:18 yuluhuang 阅读(220) 评论(0) 推荐(0)
摘要:1 2 3 4 5 6 7 8 9 Name:10 11 12 {{cust.name}}13 14 15 16 29 30 31 阅读全文
posted @ 2014-01-01 10:14 yuluhuang 阅读(119) 评论(0) 推荐(0)
摘要:自动筛选 1 2 3 4 5 6 7 8 9 Name:10 11 12 {{cust.name}}13 14 15 16 28 29 30 阅读全文
posted @ 2013-12-31 15:46 yuluhuang 阅读(134) 评论(0) 推荐(0)
摘要:html Total todos:{{getTotalTodos()}} {{todo.text}} Add View Code css1 .done-true{2 text-decoration: line-through;3 color: gray;4 }View Code js 1 function TodoCtrl($scope){ 2 $scope.totalTodos=4; 3 4 ... 阅读全文
posted @ 2013-12-31 15:42 yuluhuang 阅读(155) 评论(0) 推荐(0)