课程
/前端开发
/Angular
/AngularJS表单验证
orgText:'=compare'是之前的字符??这式子怎么理解,o.require='ngModule'怎么理解
2016-06-28
源自:AngularJS表单验证 4-2
正在回答
scope binding orgText and compare, = binging, & expression, @ attribute.
ngModule is another directive on the same element, therefore, you need to require it in this new directive that you just created.
百度下angularjs指令,这些是规定的一些语法。
举报
一看就明白的AngularJS表单验证