I know how to convert a string to an integer in the controller
parseInt( $scope.date)
But i have to do this in the view
<span data-ng-show="item.date">{{ item.date | hbdatetime }}</span>
In the view itself i have to convert the date ( which i am getting as a string ) to an integer so that i can filter with hbdatetime .
I am trying something like this
// <data-ng-show="item.date">parseInt{{ item.date | hbdatetime }}</span>
Please help in angular way