Im working on angularjs routes using routeProvider. I have a view "a" this has to be rendered based on authentication so when a
angularjs routes
routeProvider
view "a"