I'm working in a Grails project that uses Angular.
I use a plugin called PrettyPrint in order to have "twitter like" time (i.e. formatting dates like 'moments ago').
I want to use the plugin inside a ng-repeat loop.
<tr ng-repeat="notification in notifications">
...
<td><prettytime:display date="${notification.date}" /></td>
...
</tr>
In the above code, the error thrown is Cannot get property 'date' on null object
. (it doesn't recognize notification item from angular loop).
If I use {{notification.date}}
it shows the date.
How can I deal with both, the plugin and Angular?