fix(view.js) undefined routes lead to an error while .reverse lookup

If an app has an undefined route, which may occur in dynamic environments, the route was not set properly, because $route.current was defined, while $route.current.$$route was undefined.