title: Sorting filter 'orderBy' doesn't work in AngularJS
body: <p>I have a table list with three columns. There are the possibility to sort all columns up an down. When you click on the -Tag then the list will sorted but I'm getting the error message:</p>
  
  <blockquote>
    <p>Error: $injector:unpr
    Unknown Provider</p>
    
    <p>Unknown provider: orderbyFilterProvider &lt;-</p>
  </blockquote>
  
  <p>Here is the Ctrl:</p>
  
  <pre><code>var orderby = $filter('orderby');
  
  $scope.sortType = '-maxAge';
  $scope.sortReverse = false;
  
  $scope.order = function (sortType, sortReverse) {
     $scope.nameslist = orderby($scope.nameslist, sortType, sortReverse);
  };
  </code></pre>
  
  <p>The view (header):</p>
  
  <pre><code>...
  &lt;th&gt;
    &lt;a href="" ng-click="sortReverse = !sortReverse; order('fname',reverse)"&gt;
       Firstame
       &lt;span ng-show="sortType=='fname' &amp;&amp; !sortReverse" class="glyphicon glyphicon-triangle-bottom"&gt;&lt;/span&gt;
       &lt;span ng-show="sortType=='fname' &amp;&amp; sortReverse" class="glyphicon glyphicon-triangle-top"&gt;&lt;/span&gt;
    &lt;/a&gt;
  &lt;/th&gt;
  ...
  </code></pre>
  
  <p>The view (table list):</p>
  
  <pre><code>&lt;tr ng-repeat="item in filteredNames = (nameslist | orderBy: sortType:sortReverse)" class="show-cursor"&gt;
     &lt;td&gt;{{ item.fname }}&lt;/td&gt;
     ...
  &lt;/tr&gt;
  </code></pre>
  
  <p>I don't know where is the problem?!</p>