old_contents: (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'});
        }
  
      }
    }
  })();
  
new_contents: (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'});
        }
      }
    }
  })();
  
subject: fix $inject