make button active according to current route, using $routeChangeSuccess event