title: Inject dateFilter in a service in AngularJs
body: <p>I would like to know if there is a way to inject the filters in a service in AngularJs.</p>
  
  <p>I've been trying </p>
  
  <pre><code>app.factory('educationService', [function($rootScope, $filter) {
  
      // ..... Some code
  
      // What I want
      console.log(dateFilter(new Date(), 'yyyy-MM-01'));
  
      // ..... Some code
  
  }]);
  </code></pre>
  
  <p>So I would like to know if it is possible to inject a filter in a service or maybe it is accessible in another way. </p>
  
  <p>And if you have a link to a documentation about this point, it would be really nice :) Been searching in the doc of Angular and I found nothing really helpful about this. </p>
  
  <p>Thanks :)</p>