ngSlimscroll icon indicating copy to clipboard operation
ngSlimscroll copied to clipboard

AngularJS implementation of slimScroll

Angular JS slimscroll (no jQuery required)

ngSlimscroll

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.

Example

Check out the live demo

Install

With bower:

$ bower install ngSlimscroll

With npm

$ npm install ng-slimscroll

Example Configuration (bower)

<!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/