我想通了…您必须在输入元素上有一个名称。添加名称后,错误会根据需要自动绑定到元素,而无需进行其他更改!
<input ng-model="password" name="inputPassword" password-validate required type="password" id="inputPassword" placeholder="Password">
http://jsfiddle.net/thomporter/pmKpG/4/

我想通了…您必须在输入元素上有一个名称。添加名称后,错误会根据需要自动绑定到元素,而无需进行其他更改!
<input ng-model="password" name="inputPassword" password-validate required type="password" id="inputPassword" placeholder="Password">
http://jsfiddle.net/thomporter/pmKpG/4/