AngularJS provides a great way to make single page applications. When creating single page applications, routing will be very important. We want our navigation to feel like a normal site and still not have our site refresh. We've already gone through Angular routing using the normal ngRoute method.
https://scotch.io/tutorials/angular-routing-using-ui-router
Please check out this sample code with demo, It will help you https://plnkr.co/OnBe1bc9Q7h1tYBK1pSY?p=info