Form Validation Popup Window Message Works Only If Change Is Made In Angularjs March 23, 2024 Post a Comment I have a form which need to show validation error popup window message if clicked submit. Here is my form. Solution 1: For the validation part of your question, I would just check for user along with user.firstname:if(!user || !user.first){ $ionicPopup.alert({ title: 'First Name Required!', template:'Firstname' }); Copyand you can use $ionicLoading, after injecting it into the controller, like this:else { $ionicLoading.show({ template: 'Loading...' }); Friends.setall(user).then(function(msg){ console.log("From server"+msg.data); $ionicLoading.hide(); }); } Copy Share Post a Comment for "Form Validation Popup Window Message Works Only If Change Is Made In Angularjs"
Post a Comment for "Form Validation Popup Window Message Works Only If Change Is Made In Angularjs"