title: angularjs $window.height is undefined
body: <p>$window.height is undefined. Where is the problem?</p>
  
  <pre><code>FoodSearchControllers.controller('homeCtrl', ['$scope', '$http', '$window', 'filterArgs', function($scope, $http, $window, filterArgs) {
    $scope.popupHeight = $window.height;
    console.log($scope.popupHeight);
  }]);
  </code></pre>