I am working on angularjs app. Its like CRUD app. Below is the app structure
Home (List) => \"/#!/\" --- Details page => \"/#!/home/details/-K
If you are using ui-sref then threre you can also provide the state params like ui-sref="details({msg: ''})" or if you want to clear the state params, when you are transitioning into current state you can mention $state.go('.', {msg: undefined} );
ui-sref
ui-sref="details({msg: ''})"
$state.go('.', {msg: undefined} );