title: How to clear input fields in Angularjs after click of a button
body: <p>I need to clear a textbox and a select-list after a button is clicked.This is what I tried but it doesn't seems to work:</p>
  
  <p>HTML:</p>
  
  <pre><code>    &lt;input type="text" ng-model="Model.CurrentDowntimeEvent.Comment" size="60" placeholder="ENTER IN ANY ADDITIONAL INFORMATION"/&gt;&lt;br&gt;
       &lt;select class="categories" ng-disabled="selectlistdisabled"  ng-model="Model.CurrentDowntimeEvent.CategoryId" ng-options="downtimeCategory.CategoryId as downtimeCategory.CategoryName for downtimeCategory in Model.DowntimeCategories"&gt;     
     &lt;/select&gt;
   &lt;button ng-click="StopCurrentDowntime()"&gt;Stop Downtime Event&lt;/button&gt;  
  </code></pre>
  
  <p>JS:</p>
  
  <pre><code>    angular.module('myApp', [])
  
       .controller('DowntimeController', function ($scope, $http) {
           $scope.Model = new Model($http);
  
       $scope.StopCurrentDowntime = function () {
               $scope.CurrentDowntimeEvent.Comment = '';
               $scope.CurrentDowntimeEvent.CategoryId = '';
  }
  });
  </code></pre>