scrollTo A simple scrollTo directive using $anchorScroll. The directive also catches the locationChangeStart event thus preventing a page reload.