d-oliveros / ngSmoothScroll

AngularJS directives for animating smooth scrolling to elements.
276 stars 110 forks source link

does not work well with ngRoute and $location #34

Open idefy opened 9 years ago

idefy commented 9 years ago

It seems to intercept and cancel what would normaly work for ngRoute or $location. a href="#/tosomeplace" won't work if combined with scroll-to attribute. Similar problem happens if I use a callback-before attribut to a method that alters $location.path, it is disregarded. It would be good to have it work correctly for with ngroute so you can do both smooth scroll and change the view.