随笔- 473
文章- 6
评论- 337
阅读-
387万
07 2015 档案
angularJS 报错: [ngModel:numfmt] http://errors.angularjs.org/1.4.1/ngModel/numfmt?p0=333
摘要:stringToNumber2 指令中这么写没问题,但是html中调用也这么写,html解析会自动将标签和标签属性专为小写,即stringToNumber2变成了stringtonumber2,导致最终:Error: ngModel:numfmt Model is not of ty...
阅读全文
angularJS 作用域
摘要:案例说明: 虽然在 childCtrl 中没有定义具体的 args 属性,但是因为 childCtrl 的作用域继承自 parentCtrl 的作用域, 因此,childCtrl通过原型链 到父作用域args...
阅读全文