-
Notifications
You must be signed in to change notification settings - Fork 20
Description
Hi Yankovsky/Users,
Looks like a great plug in and is perfect for something I require.
I am having an issue installing though!
I can see it installed the libraries:
\www\assets\lib>
nouislider
nouislider-angular
I referenced the min.js and css in index.html.
index.html:
<script src="./assets/lib/nouislider/distribute/nouislider.min.js"></script>Inject the module in app.js
app.js:
var app = angular.module('MyApp', [
'ionic',
'ngRoute',
'ya.nouislider'
]);
All files are saved but I am getting an injection error:
Error: [$injector:modulerr] Failed to instantiate module ya.nouislider due to:
Error: [$injector:nomod] Module 'ya.nouislider' is not available
The references in index.html are good as I can open them from editor. Is the module name correct?
Do I need to reference the js file in nouislider-angular folder?
Appreciate any assistance as not sure what I'm doing wrong!!
Thanks,
Noel