AngularJS implementation of original jQuery slimScroll
Originally developed by Piotr Rochala (http://rocha.la) jQuery version
This version also supports horizontal scrolling, please see the example for more information about configuring the horizontal scroll.
Check out the live demo
$ bower install ngSlimscroll
$ npm install ng-slimscroll
<!DOCTYPE html>
<html ng-app="app">
<body ng-controller="Ctrl as ctrl">
<div ng-slimscroll>long content ... </div>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.0/angular.min.js"></script>
<script type="text/javascript" src="bower_components/ngSlimscroll/src/js/ngSlimscroll.js"></script>
<script type="text/javascript">
var app = angular.module('app', ['jkuri.slimscroll']);
app.controller('Ctrl', [function() {
var self = this;
}]);
</script>
</body>
</html>
For more information please see http://demo.jankuri.com/ngSlimscroll/