最新回答 / qq_碓冰拓海_0
查一下你的代码,signUpForm是表单名称,username是input的名称,$invalid是你的输入东西不合法的时候为true,$touched在你focus了input 之后才是true,只有这两个条件都满足,这段代码才能起作用。
2016-07-28
最赞回答 / :游志东
应该是你angularJS包有问题,我把你的包换了后,就可以了下面是我给你修改后的代码:<!DOCTYPE html><html><head> <meta charset="UTF-8"> <title>Title</title> <link href="css/bootstrap.min.css" rel="stylesheet" type="text/css"> <link href="http:...
2016-07-23
最新回答 / yuyan
那个间距是因为输入正确后小图标定位position:relative导致的!可以在他们父元素加position:relative,小对号哪里用position:absolute
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