function fitHeight(){
    return {
        restrict: 'A',
        link: function(scope, element) {
            element.css("height", $(window).height() + "px");
            element.css("min-height", $(window).height() + "px");
        }
    };
}
/**
 * fitHeight - Directive for set height fit to window height
 */
Directive for set height fit to window height
Directive for set height fit to window height
function fitHeight(){
    return {
        restrict: 'A',
        link: function(scope, element) {
            element.css("height", $(window).height() + "px");
            element.css("min-height", $(window).height() + "px");
        }
    };
}
function fitHeight ( ) { return { restrict : 'A' , link : function ( scope , element ) { element . css ( "height" , $ ( window ) . height ( ) + "px" ) ; element . css ( "min-height" , $ ( window ) . height ( ) + "px" ) ; } } ; }
fitHeight - Directive for set height fit to window height
fitHeight - Directive for set height fit to window height