ngSmoothScroll
ngSmoothScroll copied to clipboard
smoothScroll as a service works in .js but not in min.js
I think the min.js file in this repo is broken. I saw an other issue complaining about scroll-to directive not working. The same case with me but with smoothScroll service in controller. If the lib/.js file is included it works, if the dist/.min.js file is included, it does not work.
Just confirmed this. Was not working with the min. Switched to the other file and it worked right away.
I also dealt with this problem, I tried to minify the file myself and found that it works. I will submit a pull request with the newly minified file.
#60
Same issue. Couldn't make it work with the min.js file, had to use the lib version
@psegarel check this #60 not sure if it will ever be merged but it does allow you to use the minified source correctly