title: how to check all fields are empty in angularjs
body: <p>How to check all fields in the submit form <code>ng-submit="submit(field)"</code> is empty in controller.js? They consists of few textboxes and one select field. </p>
  
  <p>I would want an alert box to occur if all fields are empty and select option is not selected, instead of individual validation. </p>
  
  <p>Thanks</p>