Implementing AngularJS Anchor Scroll

AngularJS provides $anchorScroll method to to jump to a location with specified id.AngularJS provides $location object with hash() method to replace the current URL with a given key string.$anchorScroll reads the hashed string and looks for the given id and jump to the section.In this demo, "We will implement the anchor scroll for given categories.When user click on the button the page focus moves to that section".Below HTML shows the HTML file rendering different categories and list of item...
 •  0 comments  •  flag
Share on Twitter
Published on September 06, 2014 09:35
No comments have been added yet.