title: Angular ngForm wrapped elements?
body: <p>is there an angular way to get input elements wrapped into a <code>ngForm</code> directive?
  (I need to use ngForm, this is into a asp.net form)</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>angular.module('app',[])
  .controller('formCtrl', function($scope){
  
    $scope.formFields;
    $scope.model={
    
      "text": 'simple text',
      "number": 1,
      "textarea": 'lsadij isdajo\n dasjojoisajijsdaojsdaio jioasdj'
      
    };
    
    $scope.getNgFormInputs = function(e){
    
        $scope.formInfo = $scope.myFrm
        $scope.formFields = angular.noop //??? is it possible to get wrapped inputs?
    
    }
  
  
  })</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.8/angular.min.js"&gt;&lt;/script&gt;
  
  &lt;div ng-app="app"&gt;
    &lt;div ng-controller="formCtrl"&gt;
      
      &lt;div ng-bind="model.text"&gt;&lt;/div&gt;
      &lt;div ng-bind="model.number"&gt;&lt;/div&gt;
      &lt;pre ng-bind="model.textarea"&gt;&lt;/pre&gt;
      
      &lt;ng-form name='myFrm'&gt;
        
        &lt;input type="text" ng-model="model.text"&gt;&lt;br&gt;
        
        &lt;input type="text" ng-model="model.number"&gt;&lt;br&gt;
        
        &lt;textarea ng-model="model.textarea"&gt;&lt;/textarea&gt;&lt;br&gt;
        
        &lt;button ng-click="getNgFormInputs($event)" role="submit"&gt;Save&lt;/button&gt;
        
        &lt;/ng-form&gt;
  
  
    {{formInfo}}&lt;hr&gt;
    {{formFields}}
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Tks</p>