title: Returning Invalid date in IOS for angularjs project when date is from different timezone
body: <p>I'm working on an ionic angularJS project.</p>
  <p>The date is returning from the database is like &quot;2016-10-12T00:00:00.000+0200&quot; (UTC+2 timezone)</p>
  <p>I'm setting this to date field (Input type date) by changing the value as follows.</p>
  <pre><code> $scope.datevalue = new Date($scope.datevalue); 
  </code></pre>
  <p>The above statement is working in android and returning Indian timezone as &quot;Wed Oct 12, 2016, 03:30:00 GMT+0530 (India Standard Time)&quot; But not working in IOS and returning &quot;Invalid Date&quot;</p>
  <p>Could you please give me a solution for this?</p>