title: How to get access to from from the controller?
body: <p>Consider I have a form , by <code>ng-form</code> and a controller -</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var myAppModule = angular.module('myApp', []); 
  myAppModule.controller('myCtrl',function ($scope) {
            
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.7/angular.min.js"&gt;&lt;/script&gt;
  &lt;div ng-app="myApp"&gt;
      &lt;div ng-controller="myCtrl" ng-form name="myForm"&gt;
    Name : &lt;input ng-model="name" type="text" /&gt;
      &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>How could I get access within the controller - <code>myCtrl</code> to the form - <code>myForm</code> ?</p>