title: Angular JS: Validate form fields before submit
body: <p>I'm building an Angular JS app with a 2-step form. It's really just one form, but uses JavaScript to hide the first panel and show the second when the user clicks the 'next' button and moves on to step 2. I have set 'required' validations on some of the fields in step 1, but obviously, they do not get validated when the user clicks the 'next' button...they get validated when the 'submit' button is clicked at the end of step 2.</p>
  
  <p>Is there any way I can tell angular to validate those fields in the form when the 'next' button is clicked?</p>