title: angular array filter function not working
body: <p>I am using a function as a filter for an array, but the array is not getting filtered. <br/>
  Code is below:</p>
  
  <pre><code>&lt;script&gt;
      var app = angular.module('myApp',[]);
      app.controller('myController', [function(){
          var self=this;
          self.name = ["mike", "joe", "steve", "maurice", "ron"];
          self.toUpper = function(element){
              return element.toUpperCase();
          }
      }]);
  
  &lt;/script&gt;
  
  &lt;div ng-controller="myController as ctrl"&gt;
      &lt;h1&gt;Hello {{ctrl.name|filter:toUpper}}&lt;/h1&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I'm using Angular 1.3.X - pretty much the newest version. <strong>Is it no longer possible to filter an array with a function? or Do I need to explicitly create a filter for this?</strong></p>