Slider tab not changing based on menu click

I have a side menu which has a submenu that populates from ng-repeat.If I click on those names the respective slider tab will open. But this happens only if the user is in app/home. Other than this URL it doesn’t work. Please help.

Am hereby sharing StackOverflow link to my question.

Thank you.