edited ng-model attribute for password input