0
As a data format in the input type controller="DATE"?
i have this return in controller...
Sat Aug 06 2016 00:00:00 GMT-0300 (Hora oficial do Brasil)
Mon Aug 01 2016 00:00:00 GMT-0300 (Hora oficial do Brasil)
has how to format to
01-08-2016?
I didn’t even remember this rsrs. + 1. You can put the js function,
$filter
? just to complete.– Samir Braga
It did not solve the problem, my problem is in the controller, I need to take this information in the controller, not in the view... I want to use the input as a parameter to make a request and in case the format of the next date is not in the format it should be... in which case it would be 01-08-2016
– Yuri Rodrigues
I edited, you can use the angular date filter, both in JS and HTML bind.
– Douglas Fernandes