I have a next and previous button on footer which is on index.html file. My code structure is as below-

```
<html ng-app="myapp">
<body ng-controller="myController">
<div id="header">Header</div>
<div id="content"><ng-view></ng-view></div>
<div id="footer">
   <button type="button" id="next" ng-click="nextPage()">Next</button>
   <button type="button" id="prev" ng-click="prevPage()">Previous</button>
</div>
</body>
</html>

```

On click of Next and previous button, my page content should redirect to new view in the content. I have used ui-view to redirect to different view.
But in controller part it only redirect to 1.html page. After again when I click it does not redirect to 2.html page

I need to redirect to different page(1.html,2.html,3.html,4.html) on click of each next button. 
Please let me know how it can be possible.