Angular-nouislider

Simple angular directive for jquery nouislider plugin

View the Project on GitHub vasyabigi/angular-nouislider

Example:

Slider:

Binded data:

Data:

Range: (step = 5)

Binded data: from - , to -

From: , To:

Usage:

<link rel="stylesheet" href="bower_components/nouislider/jquery.nouislider.css" />
<script src="bower_components/jquery/jquery.js"></script>
<script src="bower_components/angular/angular.js"></script>
<script src="bower_components/nouislider/jquery.nouislider.js"></script>
<script src="bower_components/nouislider/Link.js"></script>
<script src="bower_components/angular-nouislider/src/nouislider.js"></script>
angular.module('MyApp', ['nouislider']);
<div slider ng-model="test.single" start=1 end=10></div>
<div slider ng-from="test.from" ng-to="test.to" start=0 end=100 step=5></div>

That's it!