title: how to clear my all ng-model old data in button click?
body: <p>i have button click clear all ng-model data   (home.html)</p>
  
  <pre><code>&lt;button class="btn hvr-underline-from-center" ng-click="clear_data11()"&gt;
      &lt;span class="icon-plus"&gt;&lt;/span&gt; {{x.DryerId}}-{{x.formula_id}} 
   &lt;/button&gt;
  </code></pre>
  
  <p>clear funcation (main_controller.js)</p>
  
  <pre><code>$rootScope.clear_data11 = function (){$rootScope.MinTemp = "";$rootScope.MaxTemp = "";$rootScope.ActualTemp = "";$rootScope.IsPullPoint ="";$rootScope.ObservedTemp = "";$rootScope.ChemicalManually=""; $rootScope.note = "";}
  </code></pre>