issues
search
d-oliveros
/
ngSmoothScroll
AngularJS directives for animating smooth scrolling to elements.
276
stars
110
forks
source link
Use injected arguments instead of global variables
#45
Open
alxdnlnko
opened
9 years ago
alxdnlnko
commented
9 years ago
Inject $window and $document into factory and use them instead of global window and document
Inject factory into directives and use it instead of global function
Inject $timeout and use it instead of setTimeout