In AngularJS, I am able to use filters (pipes) inside of services and controllers using syntax similar to this:

$filter('date')(myDate, 'yyyy-MM-dd');

Is it possible to use pipes in services/components like this in Angular?

8 Answers
8

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *