How to check if the route is active?-Twitter bootstrap
I want different color on my nav when its in my homepage. How to check if the homepage route is active, than i want to give different styles on my navbar ? (if else statement). I've tried to use window.location.href.…