title: How to capture the event of ng-change?
body: <p>Here's my code, But the <code>$event</code> is undefined. Does anyone know how can I capture the event?</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"&gt;&lt;/script&gt;
  
  &lt;script type="text/javascript"&gt;
  
      var app = angular.module("myApp", []);
      app.controller("myCtrl", function($scope) {
          $scope.alert = function ($event){
              alert($event);
          }
      });
  &lt;/script&gt;
  
  &lt;body ng-app="myApp" ng-controller="myCtrl"&gt;
  &lt;div ng-init="names=['A', 'B', 'C']"&gt;
      &lt;select class="form-control input-sm" ng-model="fda" ng-change="alert($event)" ng-options="value for value in names"&gt;
      &lt;/select&gt;
  &lt;/div&gt;
  &lt;/body&gt;
  
  &lt;/html&gt;
  </code></pre>