Hie , I am using angularjs for building an end to end application.My functionality are following :
Default page is Login After login get successful user is redirected to home page where he can search filter and can save his search.
I m facing problem with following use case: When user search some result and after that if he save some search history.If he press the browser back button the page must be redirect to again search result but page is redirected to login page always.
I want whenever user press back button of browser the page should be redirected to previous page not to login. The complete home page is single page html and the functionality are managed by ng-if.