Hello, I was able to solve this problem in the following way: in the link, I put a scrollTo with the id of the div that it should go:
<a href="" ng-click="vm.scrollTo('box')">
In the div I put the id of it normal né:
<div id="box" class="col-md-12">
In the controller of my page, it is necessary to put a function to scroll down, which in my case was:
vm.scrollTo = function (id) {
setTimeout(function() {
$location.hash(id);
$anchorScroll();
}, 100);
};
I put the set timeout because it happened that I had to click 2 or 3 times on the link so he could get down the page, so the bug is solved