title: AngularJs: How to check for changes in file input fields?
body: <p>I am new to angular. I am trying to read the uploaded file path from HTML 'file' field whenever a 'change' happens on this field. If i use 'onChange' it works but when i use it angular way using 'ng-change' it doesn't work.</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;script&gt;
     var DemoModule = angular.module("Demo",[]);
     DemoModule .controller("form-cntlr",function($scope){
     $scope.selectFile = function()
     {
          $("#file").click();
     }
     $scope.fileNameChaged = function()
     {
          alert("select file");
     }
  });
  &lt;/script&gt;
  
  &lt;div ng-controller="form-cntlr"&gt;
      &lt;form&gt;
           &lt;button ng-click="selectFile()"&gt;Upload Your File&lt;/button&gt;
           &lt;input type="file" style="display:none" 
                            id="file" name='file' ng-Change="fileNameChaged()"/&gt;
      &lt;/form&gt;  
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>fileNameChaged()</strong> is never calling. Firebug also doesn't show any error.</p>