最新回答 / yuyan
那个间距是因为输入正确后小图标定位position:relative导致的!可以在他们父元素加position:relative,小对号哪里用position:absolute
2016-07-05
已采纳回答 / __innocence
用ng-pattern,具体看上面我的一个提问;复杂的验证规则无非就是用正则表达式,比如ng-pattern="/^[A-Za-z_][A-Za-z_0-9]{3,31}$/"表示输入内容只能以字母或下划线开头,并且长度必须在4到32位之间。望采纳!!
2016-07-05
最新回答 / wangmz111
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.
2016-06-28
最新回答 / nickylau82
http://docs.ngnice.com/guide/directive 这个是ng的指令,directive 就是类似于封装的一个可以复用的组件
2016-06-28