title: Extend AngularJS function filterFilter without altering source?
body: <p>I've modified AngularJS function filterFilter so I can use exact matches. So searching for '1' gives only '1', not '11', '12' etc.</p>
  
  <pre><code>function filterFilter() {
    return function(array, expression,exact) {
    ...
      var search = function(obj, text){
      ...
        case "string":
          return exact?('' + obj).toLowerCase() === text:('' + obj).toLowerCase().indexOf(text) &gt; -1;
  </code></pre>
  
  <p>Now I can use it like this:
  sectionDicts | filter:{id:section.sectionDictId}:true</p>
  
  <p>But how can I extend this function without modyfying angular's source? I've found this <a href="https://stackoverflow.com/questions/12236905/how-to-extend-or-override-existing-filters-in-angularjs">How to extend or override existing filters in angularjs?</a> but it's another case I think.</p>
  
  <p>Also this <a href="https://groups.google.com/forum/#!msg/angular/v-WjFF-iR88/XSXRhkGhf_sJ" rel="nofollow noreferrer">https://groups.google.com/forum/#!msg/angular/v-WjFF-iR88/XSXRhkGhf_sJ</a> doesn't work</p>
  
  <p><strong>Edit</strong>
  As suggested I've added new filter. I just copied filterFilter, modified it to my needs. Although I also had to copy functions getter and isFunction from angular.js</p>