I get an error when trying to perform: ``` $rootScope.$on('$stateChangeStart', function (event, next) { if (!user.auth) { event.preventDefault(); $state.go('auth'); } }); ``` UI router version 0.4.2 PS: Thank you for your work