er, yes... that is supposed to be $stateChangeError, hah.

Also, testing with http://jsbin.com/oKOZITa/1/edit it looks like angular.equals might not be a good solution (in case a route has parameters which are not taken into account by the ui-sref)