title: AngularUI DatePicker - JavaScript - Date one day off when getting SQL Date format
body: <p>I load in a SQL format date into a variable "2014-02-28" , but when I create a </p>
  
  <pre><code>new Date("2014-02-28");
  </code></pre>
  
  <p>the Date displayed in the input box is:</p>
  
  <pre><code>2014-02-27
  </code></pre>
  
  <p>In the AngularUI datepicker, the date is always one day off even if the value is correct in the model. Is there some way to remedy this?</p>
  
  <p>Here is a Plunkr link which demonstrates the problem: <a href="http://plnkr.co/edit/evBwPW0KO7cEWGp6vqtk?p=preview" rel="nofollow">http://plnkr.co/edit/evBwPW0KO7cEWGp6vqtk?p=preview</a> </p>
  
  <p>I would like the model to be just the date in yyyy-MM-dd format, and for the date to be correct.</p>