I've been looking at these pages (1, 2, 3). I basically want to change my $state
, but I don't want the page to reload.
I am currently in the page /schedules/2/4/2014
, and I want to go into edit mode when I click a button and have the URL become /schedules/2/4/2014/edit
.
My edit
state is simply $scope.isEdit = true
, so there is no point of reloading the whole page. However, I do want the $state
and/or url
to change so that if the user refreshses the page, it starts in the edit mode.
What can I do?