/angular-justgage

JustGage directive for AngularJS

Primary LanguageJavaScriptMIT LicenseMIT

angular-justgage

JustGage directive for AngularJS

License: MIT


About

ngJustGage A simple AngularJS directive wrapper for JustGage

It currently only supports a small subset of what JustGage is capable of as that's all I needed for the project I'm working on. I'm happy to add more functionality on request.


Install

Download the demo or use bower

bower install angular-justgage

Usage

<!DOCTYPE html>
<html ng-app="app">
<head>
    <script src="..\libs\angular-1.0.5.js"></script>
    <script src="..\libs\raphael.2.1.0.min.js"></script>
    <script src="..\libs\justgage.1.0.1.js"></script>
    <script src="..\ng-justgage.js"></script>
    <script src="app.js"></script>
</head>
<body ng-controller="myController">
    <just-gage id="test1" class="someClass" min=0 max=100 value=42 title="Test 1"></just-gage>
</body>
</html>

Demo

angular-justgage