上一页 1 ··· 477 478 479 480 481 482 483 484 485 ··· 491 下一页
摘要: Install RSpec: Describe Lets start writing a specification for the Tweet class. Write a describe block for the Tweet model without any examples inside 阅读全文
posted @ 2014-11-14 22:48 Zhentiw 阅读(406) 评论(0) 推荐(0)
摘要: This is an highlight about ngAira in Angular Document abou ngAiraWhere can use ngAria?Currently, ngAria interfaces with the following directives:ngMod... 阅读全文
posted @ 2014-11-14 22:00 Zhentiw 阅读(460) 评论(0) 推荐(0)
摘要: Accessibility is an often overlookedessentialfeature of a web application. a11y Is a critical component of your AngularJS application. It should be co... 阅读全文
posted @ 2014-11-14 21:24 Zhentiw 阅读(665) 评论(0) 推荐(0)
摘要: AngularJS 1.3 ng-model-options Some input: SubmitBound value: Field Error State: {{myForm.myField.$error | json... 阅读全文
posted @ 2014-11-14 04:17 Zhentiw 阅读(577) 评论(0) 推荐(0)
摘要: new $q constructor Reject it Resolve it Last Resolved Value {{vm.resolveData | json}} Last Rejected Value {{vm.reje... 阅读全文
posted @ 2014-11-13 22:54 Zhentiw 阅读(383) 评论(0) 推荐(0)
摘要: Password --------------------------------- //ngChange $scope.onChange=function(){ var newVal =... 阅读全文
posted @ 2014-11-13 18:17 Zhentiw 阅读(1074) 评论(0) 推荐(0)
摘要: $watchGroup can monitor an array or expression.We watch both email and password by using the same callback function. $scope.$watchGroup(['user.emai... 阅读全文
posted @ 2014-11-13 18:08 Zhentiw 阅读(320) 评论(0) 推荐(0)
摘要: For the $watch in last article, we watch 'user.password', actually it is a string.If you watch 'user', this object and we do something like:function W... 阅读全文
posted @ 2014-11-13 07:25 Zhentiw 阅读(297) 评论(0) 推荐(0)
摘要: /** * Created by Answer1215 on 11/13/2014. */function MainCtrl($scope){ function isLongEnough (pwd) { return pwd.length > 4; } functio... 阅读全文
posted @ 2014-11-13 07:19 Zhentiw 阅读(521) 评论(0) 推荐(0)
摘要: FACTORIESConvert thezombiesfixture to a Factory GirlFactorycalled:zombie.test/fixture/zombies.ymlzombie: name: 'Sally' graveyard: 'Valley Dim'Answer... 阅读全文
posted @ 2014-11-12 22:15 Zhentiw 阅读(516) 评论(0) 推荐(0)
上一页 1 ··· 477 478 479 480 481 482 483 484 485 ··· 491 下一页