manage navbar with angularjs