To switch between different views, you can directly change the window.location (using the $location service!) in index.html file as follows:-
<div ng-controller="Cntrl">
<div ng-click="changeView('edit')"> edit </div>
<div ng-click="changeView('preview')"> preview </div>
</div>
Controller.js
function Cntrl ($scope,$location) {
$scope.changeView = function(view){
$location.path(view);
// path not hash
}
}