title: Can app.filter be called after app.controller?
body: <p>In this <a href="http://jsfiddle.net/gr2uksvu/7/" rel="nofollow">Angular JS Pagination Fiddle example</a></p>
  
  <pre><code>var app = angular.module('myApp', ['ui.bootstrap']);
  app.filter('offset', function() {
  alert('filter is called');
  return function(input, start) {
      return input.slice(start);
  };})
  
  app.controller('someController', function($scope) {
  alert('controller is called');
  $scope.countries = [];
  $scope.currentPage = 1;
  $scope.itemsPerPage = 20;
  $scope.maxSize = 20;
  $scope.totalItems = 250;
  
  for(var i = 0; i &lt; $scope.totalItems; i++){
      $scope.countries[i] = { name: 'country ' + i }
  }
  });
  </code></pre>
  
  <p>Is it possible to make for app.filter to be called before app.controller gets called? If yes, how can we do that?</p>