Register route and navbar directive with active links