Open intyro opened 8 years ago
Have you imported jQuery? Angular only uses what they call "jQuery light" as default.
I have the same issue and jQuery is loaded before this package. So is Angular. What's going on?
You might have forgotten to include the jquery.nicescroll plugin. If you used the bower download option you should have gotten both the angular-nicescroll and jquery.nicescroll plugins. make sure your app is making use of both.
add this line to your index.html
after installing angular-nicescroll put this line into index.html-
<script src="../bower_components/angular-nicescroll/angular-nicescroll.js"></script>
@rrubbico Thanks a lot !
I'm using that package and have issue with that line var niceScroll = $(element).niceScroll(niceOption); the error is TypeError : $(...).niceScroll is not a function