title: Adding Required in input field AngularJS
body: <p>I have used <code>&lt;required&gt;</code> inside <code>&lt;input&gt;</code>.Also I tried using ng-required="true". But the modal closes itself even if the required field is left empty. Whenever this modal closes, </p>
  
  <blockquote>
    <p>Please fill out this fielld</p>
  </blockquote>
  
  <p>shows up but modal gets dismissed even with blank input fields.
  See <a href="http://plnkr.co/edit/zO72aCH8UBQSdH3II6Mr?p=preview" rel="nofollow">this plunk</a></p>
  
  <p>How do I make sure that the form is filled completely before this form is submitted.</p>