没有找到AngularJs指令

时间:2016-12-20 06:26:34

标签: angularjs

这里我试图绑定指令,但为什么我在绑定期间收到错误

<input type="text" class="form-control" ng-model="User.Password" name="psw" />
<input type="text" class="form-control" ng-model="User.conPassword" name="cpsw"  
       data-apple-psw="User.Password" required />

crl.Js

app.directive('applePsw', function () {
return {
    require: " ngModel",
    scope: {
        //passwordVerify: "="
        applePsw: "="
    },
    link: function (scope, element, attr, ctrl) {

0 个答案:

没有答案