I am using AngularJS for a small web app and have encountered a problem. I am using ng-repeat
to populate a list inside of a div. The div has a fixed height and is
You can also use $anchorScroll as per the docs
// set the location.hash to the id of
// the element you wish to scroll to.
$location.hash('bottom');
// call $anchorScroll()
$anchorScroll();
You would need to wrap this within a $timeout:
$timeout(function() {
$location.hash('myList');
$anchorScroll();
})