Fixed an issue with the route change error handler

@hippee-lee a quick fix to the route change error handler. it still had remnants from the earlier ui-router implementation causing errors.