You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
The above worked fine in Angular 1.5.0 but with Angular 1.5.2 I get this error:
Failed to instantiate module app due to:
TypeError: Cannot create property '$routeConfig' on string 'AppController'
at http://localhost:3000/app.js:1:24483
at p (http://localhost:3000/app.js:1:1052)
at Bc.component (http://localhost:3000/app.js:1:24434)
at d (http://localhost:3000/app.js:1:17190)
at http://localhost:3000/app.js:1:17296
at p (http://localhost:3000/app.js:1:863)
at g (http://localhost:3000/app.js:1:17091)
at db (http://localhost:3000/app.js:1:19121)
at c (http://localhost:3000/app.js:1:7768)
at xc (http://localhost:3000/app.js:1:8071
The text was updated successfully, but these errors were encountered:
Duplicate of #14279. This is indeed a bug/limitation - we're working on it. (A temporary workaround is to not register component/directive controllers by name, but reference the actual function/Class itself.)
I declare $routerRootComponent like this:
I then declare the first $routeConfig like this:
The above worked fine in Angular 1.5.0 but with Angular 1.5.2 I get this error:
The text was updated successfully, but these errors were encountered: