Today I found that\'s it\'s not working to convert for a date inside angular expression.
So I just making something like
{{new Date(elem.times
-
It is probably best to use a library like moment for this. Also the functionality you are looking for is meant to be implemented via "filters"
Also see angular-moment
- 热议问题