SyntaxFix
Write A Post
Hire A Developer
Questions
You can do:
<form name="loginform" novalidate ng-submit="loginform.$valid && login.submit()">
No need for controller checks.