title: Accessing form from directive
body: <p>I need to access the current form (which may be nested) from within an angularjs directive. I know I can use</p>
  
  <blockquote>
    <p>require: 'form'</p>
  </blockquote>
  
  <p>or </p>
  
  <blockquote>
    <p>require: '^form'</p>
  </blockquote>
  
  <p>to go up a level but what if the directive I'm designing can live 1 level deep on one form and three levels deep on another?</p>
  
  <blockquote>
    <p>require: '^form' or require: '^^^form' etc</p>
  </blockquote>
  
  <p>How can I design my directive to require the nearest form to it?</p>
  
  <p>Thanks!</p>