Using Angular in menu selection and watching url changes from browser back button