Added directive for setting active item in navbar.