function chatSlimScroll($timeout) {
    return {
        restrict: 'A',
        link: function(scope, element) {
            $timeout(function(){
                element.slimscroll({
                    height: '234px',
                    railOpacity: 0.4
                });

            });
        }
    };
}
/**
 * chatSlimScroll - Directive for slim scroll for small chat
 */
Directive for slim scroll for small chat
Directive for slim scroll for small chat
function chatSlimScroll($timeout) {
    return {
        restrict: 'A',
        link: function(scope, element) {
            $timeout(function(){
                element.slimscroll({
                    height: '234px',
                    railOpacity: 0.4
                });
            });
        }
    };
}
function chatSlimScroll ( $timeout ) { return { restrict : 'A' , link : function ( scope , element ) { $timeout ( function ( ) { element . slimscroll ( { height : '234px' , railOpacity : 0.4 } ) ; } ) ; } } ; }
chatSlimScroll - Directive for slim scroll for small chat
chatSlimScroll - Directive for slim scroll for small chat