Hi all,

does anyone knows how to inject service to a pipe in Angular2 TS?

I have an example in plunkr <http://plnkr.co/edit/mi0oG2kHvSfpfndMpqdL> here 
if you run it, it throws an error saying no provider for "myService".  Pipe 
doesn't have Provider property so how do I inject a service to it?

Thanks,

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to