title: Jquery datepicker selected date is not considered in ng-change - AngularJS
body: <p>Kindly help me to solve this issue.
  I am using jquery datepicker with AngularJS. I am trying to get the selected date and pass it with a function as parameter. For this I am using the following code.</p>
  
  <p><strong>Html:</strong></p>
  
  <pre><code>&lt;input type="text" "ng-model="gettingStartDate" ng-change="newTest(gettingStartDate)" /&gt;
  </code></pre>
  
  <p><strong>Date Picker:</strong></p>
  
  <pre><code>$( "#date1" ).datepicker();
  </code></pre>
  
  <p><strong>AngularJS:</strong></p>
  
  <pre><code>function getOrg($scope, $http) {
  
    $scope.newTest = function(start_date){
       alert(start_date); 
    };
  
  }
  </code></pre>