On line 82 you have 'new iScroll' which resulted in an undefined error. To get this to work in my angular project I needed a capital " I " such as "new IScroll() "
@benjamingeorge you're using the wrong file, the capitilized "i" is for iscroll5, if you are using iscroll5 then you must use 1.2b ng-iscroll.js...as readme says:
"AngularJS Module that enables iScroll 4.x to work using a directive. If you are looking for a iScroll 5 compatible version please checkout the ng-iScoll 1.2b branch"
Yeah I saw that. I installed via Bower and since the 1.2 branch of iscroll is the only one with a bower.json I assumed installing it with bower would pull the that branch. Is this not the case? Do I have to download the zip?
@benjamingeorge you're using the wrong file, the capitilized "i" is for iscroll5, if you are using iscroll5 then you must use the 1.2b ng-iscroll.js...as readme says:
"AngularJS Module that enables iScroll 4.x to work using a directive. If you are looking for a iScroll 5 compatible version please checkout the ng-iScoll 1.2b branch"
—
Reply to this email directly or view it on GitHub.
Look, you can get sources in bower from specific branches...
If you run "bower help install" you'll get something like this:
Endpoints...
#
Where:
is a package URL, physical location or registry name
is a valid range, commit, branch, etc.
With that in mind, you can run "bower install ng-iScroll#v1.2b --save-dev"
So, no need to download it manually.
—
Reply to this email directly or view it on GitHub.