title: Error: [$compile:multidir] Multiple directives [form, form] asking for 'form' controller on: <form ng-form="">
body: <p>I am getting this error on a form I am building in angularjs.</p>
  
  <p>`Error: [$compile:multidir] Multiple directives [form, form] asking for 'form' controller on: </p>
  
  <pre><code>&lt;div data-ng-controller="shortlistController"&gt;
      &lt;ul&gt;
          &lt;li data-ng-repeat="job in jobs"&gt;
              &lt;div&gt;{{ job.role }}&lt;/div&gt;&lt;div&gt;{{ job.salary }}&lt;/div&gt;&lt;div&gt;{{ job.company }}&lt;/div&gt;
          &lt;/li&gt;
      &lt;/ul&gt;
  &lt;/div&gt;
  
  &lt;form ng-form&gt;
      &lt;input type="text" ng-model="newRole"&gt;
      &lt;input type="text" ng-model="newSalary"&gt;
      &lt;input type="text" ng-model="newCompany"&gt;
      &lt;input type="text" ng-model="newUrl"&gt;
      &lt;button&gt;Submit&lt;/button&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Initially I had the form within data-ng-controller, I took it out to see if the controller might have been the issue..</p>
  
  <p>Please ask if you think I need to post more code, I am using angulars native routing system</p>