There seem to be two answers to this question:
$scope.cancel = ->
location.reload()
or:
$scope.cancel = ->
$route.reload()
The first works fine but it is a full GET and seems to be doing a lot more work than needed. The second doesn't seem to work at all -- I can see it hitting the reload method and queuing up the updateRoute
function with this.$$asyncQueue.push(expr)
but the reload doesn't happen. Can I force $route.reload
to work? Is there a better way to accomplish this?