Follow these steps:
Need to remove or empty that msg variable.
Sure, assigning it to you @anweshknayak .
Oops I can't test it.(blank screen) I forgot. I have to search through the code.
@anweshknayak Does the error persists at client side or backened side. If it is client then can you please share the snapshot of console?
@aka-jain : We need to refresh controller on route change. Since both signup and login share same controller (AuthCtrl) and same variables (vm.isFormError, vm.FormError) that's why this is happening.
@spyshiv Or we can make that msg variable empty on clicking signup tab. Thoughts?
:+1: that's better solution since this issue is not related to ng-messages.
@anweshknayak : Do it as @aka-jain suggested. (Resetting the variables)
am emptying the auth.FormError var on ng-click SignUp in signup.html, I guess this should do the trick, but no change in signup.html is being reflected on browser. Am I missing something? @aka-jain
@yadavankit Can you put up a PR for this?
#592 @aka-jain There were some issue I guess
I have already mentioned that we have to do some changes. And I was in doudt regarding your code as some enhancement to quality needs to be done. That's why I closed that PR.
@aka-jain yeah sure 馃憤
@yadavankit make sure if anyone has been assigned beforehand before picking up the issue. Effort goes into waste of either one.
Fixed with #636
@aka-jain error still persists.
Go to : Login .
Next Click below : SignUp
Form error shows up.
Please check the PR. #663
@anweshknayak nice catch...since am reseting the form on ng-click of SignUp Tab, just give me a sec, will apply auth.resetForm() on SignUp link.
@yadavankit there's no need. a functionality has been added in #632 which will do.
@anweshknayak cool 馃憤