Search Posts

Category: location-history

Angularjs after using ‘location replace’, duplicated pages remained

In my code, logics are executed like belows. Showing items list in main page. Click one item and move to detail page. I wanna change something, so click edit button and move to edit page Edit some and finish editing with click the confirm button. When click the button, execute $state.go(toGo, params, {location: ‘replace’}); Then move to detail page. Through these, location history has successive detail page How can I remove this successive pages in […]