title: Pass form to directive
body: <p>I want to encapsulate my form fields in a directive so I can simply do this:</p>
  
  <pre><code>&lt;div ng-form='myForm'&gt;
    &lt;my-input name='Email' type='email' label='Email Address' placeholder="Enter email" ng-model='model.email' required='false'&gt;&lt;/my-input&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>How do I access the <code>myForm</code> in my directive so I can do validation checks, e.g. <code>myForm.Email.$valid</code>? </p>