code: function ForceHeightDirective($mdUtil) {
    return {
      restrict: 'A',
      link: function(scope, element, attrs) {
        var height = scope.$eval(attrs.mdForceHeight) || null;
  
        if (height && element) {
          element[0].style.height = height;
        }
      }
    };
  }
docs: @ngdoc directive
  @name mdForceHeight
  @module material.components.virtualRepeat
  @restrict A
  @description
  
  Force an element to have a certain `px` height. This is used in place of a style tag in order to
  conform to the
  <a href="https://developer.mozilla.org/docs/Web/HTTP/Headers/Content-Security-Policy/script-src">
  Content Security Policy</a> regarding `unsafe-inline` `<style>` tags.
  
  This directive is related to <a ng-href="api/directive/mdVirtualRepeat">mdVirtualRepeat</a>.
  
  @usage
  <hljs lang="html">
  <div md-force-height="'100px'"></div>
  </hljs>