title: Angular.js: Input date shows date -1 day
body: <p>I have a form with <code>&lt;input type="date"&gt;</code>. </p>
  
  <p>When I bind data in this input, it shows me the date -1 day.</p>
  
  <p>The HTML:</p>
  
  <pre><code>&lt;div class="input-field col s12"&gt;
      &lt;label&gt;Fecha Nacimiento &lt;/label&gt;
      &lt;input type="date" class="form-control" id="fnac" name="fnac" ng-model="unapersona.fnac"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The Controller:</p>
  
  <pre><code>$scope.cargarpersona = function(id) {
      $http.get("modelos/personas_json.php?id="+id)
      .success(function(data) {
          $scope.unapersona = eval(data);
          //... Other data
          $scope.unapersona.fnac = new Date($scope.unapersona[0]["fnac"]);
          //... Other data
      })
      .error(function(data) {
          console.log('Error: ' + data);
      });
  }
  </code></pre>
  
  <p><a href="http://i.stack.imgur.com/zvCXd.png" rel="nofollow">Screen Capture</a></p>