You can do:
<form name="loginform" novalidate ng-submit="loginform.$valid && login.submit()">
No need for controller checks.
More Related Contents:
- Should I care about W3C validation?
- The Advantages when we put AngularJS within Symfony web application
- How to Display blob (.pdf) in an AngularJS app
- How to call a method defined in an AngularJS directive?
- How to execute AngularJS controller function on page load?
- How do I store data in local storage using Angularjs?
- Angularjs dynamic ng-pattern validation
- Is there a way to make AngularJS load partials in the beginning and not at when needed?
- What’s the difference between ng-model and ng-bind
- Angular js init ng-model from default values
- What’s the most concise way to read query parameters in AngularJS?
- angular js unknown provider
- angular-ui-router with requirejs, lazy loading of controller
- How can I set a dynamic model name in AngularJS?
- How to call a function from another controller in AngularJS? [duplicate]
- Directive isolate scope with ng-repeat scope in AngularJS
- Accessing attributes from an AngularJS directive
- AngularJS: Upload files using $resource (solution)
- Angular Js – set token on header default
- AngularJS: How do I manually set input to $valid in controller?
- AngularJs ReferenceError: $http is not defined
- RegEx for no whitespace at the beginning and end
- Can you change templateUrl on the fly?
- angularjs move focus to next control on enter
- AngularJS – Get List of All Registered Services?
- What is `priority` of ng-repeat directive can you change it?
- How to master AngularJS? [closed]
- angularjs 1.x support lifecycle and end-of-life
- Binding inputs to an array of primitives using ngRepeat => uneditable inputs
- Two views in one AngularUI Router state sharing scope