title: How to get the controller of a form
body: <p>Say I have several forms each with their own controller that look like this</p>
  
  <pre><code> &lt;div ng-controller="MyController1 as ctrl"&gt;
      &lt;label&gt;Some label &lt;/label&gt;
  &lt;/div&gt;
  
  &lt;div ng-controller="MyController2 as ctrl"&gt;
      &lt;label&gt;Some label &lt;/label&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>And I have a global controller, that gets the information about the form names. Now I want to find the controllers for each form. For instance, if in my global controller function, I get the name of the first form, how can I find out that its controller is MyController1? Is that even possible? </p>