(function () {
  'use strict';

  angular
    .module('app')
    .directive('contentHeight', contentHeight);

  contentHeight.inject = ['$window'];

  function contentHeight($window) {
    return {
      restrict: 'A',
      link: link
    };

    function link(scope, element) {
      setHeight();
      angular.element($window).on('resize', function () {
        setHeight();
      });

      function setHeight() {
        element.css({'min-height': $window.innerHeight - angular.element(document).find('.navbar').height() + 'px'});
      }

    }
  }
})();

@@ -119,16 +119,17 @@
 tHeight.
+$
 inject =
@@ -538,17 +538,16 @@
       %7D%0A
-%0A
     %7D%0A  

fix $inject