title: How to convert date format in angular bootstrap date picker
body: <p>I am using angular date picker. When user selects a date, I want to filter results. </p>
  
  <p>I've added ng-change to the date picker and it is detecting a change and passing the date value. But the format is not correct.</p>
  
  <pre><code>&lt;uib-datepicker ng-model="dt" ng-change="dateSelected('{{dt}}')" class="well well-sm" datepicker-options="options"&gt;&lt;/uib-datepicker&gt;
  </code></pre>
  
  <p>Controller</p>
  
  <pre><code> $scope.dateSelected = function(passedDate){
      console.log('Date Selected ' + passedDate);
  }
  </code></pre>
  
  <p>This gives </p>
  
  <pre><code>2016-04-26T12:18:56.794Z
  </code></pre>
  
  <p>How do I convert it to </p>
  
  <pre><code>18 March, 2016
  </code></pre>
  
  <p>or something similar.</p>
  
  <p>I'tried a couple of option by updating $scope.options based on the documentation, but nothing works.</p>