apply navbar to angularjs