I've created a directive that makes an html scrollable (using Malihu scroller)
myApp.directive("scrollable", [function () {
    return function(scope, elm) {
        elm.mCustomScrollbar({
            autoHideScrollbar: false,
            theme: 'dark',
            advanced:{
                updateOnContentResize: true
            }
        });
    };
}]);
Here is the live example on Plunker : http://plnkr.co/edit/wm9qHn?p=preview
Is it stupid to use a directive to do this? Is there a better / more fancy way to make an element scrollable in Angular?
 
    