_x000D_
$scope.changePass = function(data){_x000D_
_x000D_
if(data.txtNewConfirmPassword !== data.txtNewPassword){_x000D_
$scope.confirmStatus = true;_x000D_
}else{_x000D_
$scope.confirmStatus = false;_x000D_
}_x000D_
};
_x000D_
<form class="list" name="myForm">_x000D_
<label class="item item-input"> _x000D_
<input type="password" placeholder="???????????????????" ng-model="data.txtCurrentPassword" maxlength="5" required>_x000D_
</label>_x000D_
<label class="item item-input">_x000D_
<input type="password" placeholder="???????????????" ng-model="data.txtNewPassword" maxlength="5" ng-minlength="5" name="checknawPassword" ng-change="changePass(data)" required>_x000D_
</label>_x000D_
<label class="item item-input">_x000D_
<input type="password" placeholder="????????????????????????" ng-model="data.txtNewConfirmPassword" maxlength="5" ng-minlength="5" name="checkConfirmPassword" ng-change="changePass(data)" required>_x000D_
</label> _x000D_
<div class="spacer" style="width: 300px; height: 5px;"></div> _x000D_
<span style="color:red" ng-show="myForm.checknawPassword.$error.minlength || myForm.checkConfirmPassword.$error.minlength">??????????????????? 5 ????</span><br>_x000D_
<span ng-show="confirmStatus" style="color:red">?????????????????????</span>_x000D_
<br>_x000D_
<button class="button button-positive button-block" ng-click="saveChangePass(data)" ng-disabled="myForm.$invalid || confirmStatus">???????</button>_x000D_
</form>
_x000D_