title: $timeout is not a function error
body: <p>Hey guys got a little problem that i cant seem to see the problem for. Im building an angular application and im getting the error stated in the question title. Ive injected the <code>$timeout</code> to the controller but im still getting an error with this bit of code can some one tell me where i may be going wrong?</p>
  
  <p>cheers</p>
  
  <pre><code>(function() {
  'use strict';
  angular
      .module('my.module')
      .controller('NewSearchController', NewSearchController);
  
  NewSearchController.$inject = ['$rootScope', '$scope', '$location','UserService',
    'SearchService', '$window', '$controller', '$mdDialog', 'ModalService', '$routeParams', '$timeout'];
  
  
  /**
   *   @namespace ContactController
   */
  
  function NewSearchController($rootScope, $scope, $location, UserService, SearchService, $window, $controller, $mdDialog, $routeParams, $timeout)
  </code></pre>
  
  <p><strong>Timeout code:</strong></p>
  
  <pre><code>var timerMax = false;
      $scope.$watch(NewSearchController.searchObject.maxDayRate, function(){
        if(timerMax) {
          $timeout.cancel(timerMax);
        }
        timerMax= $timeout(function() {
          NewSearchController.updateSearchFilters();
        }, 5000);
      });
  </code></pre>