Move next and prev navbar to angularjs.