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
Since ui-router-alpha0 is not available any more, switching to ui-router-alpha.5 has seemingly broken the app.
index.js:15338Uncaught Error: Cannot combine: component|bindings with: templateProvider|templateUrl|template|notify|async|controller|controllerProvider|controllerAs|resolveAs in stateview: 'name@<route>'
This is the code in the ui-router
// Configure this view for routing to an angular 1.5+ style .component (or any directive, really)
if (config.component) {
if (nonCompKeys.map(key => isDefined(config[key])).reduce(anyTrueR, false)) {
throw new Error(`Cannot combine: ${compKeys.join("|")} with: ${nonCompKeys.join("|")} in stateview: 'name@${state.name}'`);
}
...
Any ideas?
The text was updated successfully, but these errors were encountered:
I encountered this too. The issue was that i had two properties in my state definition which were mutually exclusive. In my case, i had defined both a component to route to, and also a template. I deleted the template and it resumed working.
Since ui-router-alpha0 is not available any more, switching to ui-router-alpha.5 has seemingly broken the app.
This is the code in the ui-router
Any ideas?
The text was updated successfully, but these errors were encountered: