title: Binding between input[date] and Moment.js in AngularJS
body: <p>In order to formulate question I prepared the simplified example:</p>
  
  <pre><code>...
  &lt;input type="date" ng-model="selectedMoment" /&gt;
  ...
  &lt;script&gt;
   angular.module('dateInputExample', [])
       .controller('DateController', ['$scope', function($scope) {
         $scope.selectedMoment = moment();
          //...more code...
       }]);
  &lt;/script&gt;
  </code></pre>
  
  <p>Basically, I just need binding between model(moment.js's date) &amp; view(input[date] field) to work properly - date input is updated when model is updated and vice versa.
  Apparently, trying the example above would bring you error that model is not of the Date type.</p>
  
  <p>That's why I am asking experienced AngularJs developers, how can I implement this binding properly?</p>
  
  <p>Any advices appreciated.</p>