title: How to mock custom filter in Angular/Jasmine
body: <p>I have a custom filter I created. per <a href="https://stackoverflow.com/questions/25397515/how-to-mock-angular-translate-filter-in-unit-tests-for-directives">this post</a> I created the following in my Jasmine...</p>
  
  <pre><code>beforeEach(module("workOrderManagerApp"));
  var mockSearchFilter = function(text, tails, fillTailList) {
      return null;
  };
  beforeEach(function() {
      module(function($provide) {
          $provide.value('searchItems', mockSearchFilter);
      });
  });
  </code></pre>
  
  <p>But when I run this it still runs the non-mock filter. What am I missing here? </p>