Tuesday, December 9, 2014

Angular.js: Use an Angular filter inside your controller

Most of the time you’ll use your Angular filter inside your view, but sometimes it’s useful to use it from inside your controller. To do this, you have to inject the ‘filterFilter’ service:

No comments: