Scroll to anchor doesn't work


#1

Hello,

I try to implement a link with a scrolling to anchor function. But when i click the link, the app scrolls to the top of the page and not to the anchor.

The link:

<a ng-click="slideTo('ass')">siehe weiter unten</a>

The anchor:

<div class="row">
	<div class="col col-100 gridDivider" id="#ass">
	    Fortsetzung ASS
	</div>
</div>

JS:

.controller('AlgoCtrl', function($scope, $location, $ionicScrollDelegate) {
	$scope.slideTo = function(location){
		location  = $location.hash(location);
    	$ionicScrollDelegate.anchorScroll("#"+location);
	};	 	

});