Tag Archives: angular 1.x

  • Angular Check if Form is Valid from Controller

    The other day I was asked how you could check whether a form in Angular is valid from within the controller that corresponds to the form. Traditionally, this is how you would check the validity of your Angular form in the view, or your HTML: <form name=”superForm” ng-submit=”submit(superForm)”>   <!– Add input fields here –> </form>   […]