>
> <input type="datetime-local" ng-model="event.end" ng-init="event.end = new 
> Date(event.end) || top.Date" min="2014-06-13T08:34" required="" 
> class="ng-pristine ng-valid"> 

Error: [$parse:syntax] Syntax Error: Token 'Date' is an unexpected token at 
> column 17 of the expression [event.end = new Date(event.end) || top.Date] 
> starting at [Date(event.end) || top.Date]. 

how execute properly object inside ng-init ? 

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to