I need to manipulate each $firebasearray element to convert a date field ( saved as strings 'YYYYMMDD' ) in dates to expose then on the view at the corresponding tag :
<td width="7%"><input type="date" class="form-control" ng-model="p.myDate"></td>
In this case the line above is inside an ng-repeat with the "p" elements from the array.I can't assign directly an string containing my date ( formated as 'YYYYMMDD' ) to the date field. It's necessary convert it to a date previously.
How ?