Angular 4 asp net core, router.navigate

I'm working with Angular 4 and asp net core mvc, I'm using the nifty template. I have the App module with its in which a login component or a dashbord is loaded with the nifty template. The problem is that when I make router link to go from the login to the dashboard (routerLink = "/ dashboard") the menu of the template stops working and reloads the page.

I attach a gif that shows the problem, I have several days and I can not solve the problem

Link to gif

I don't know that who is the problem