Skip to content

ui-router-alpha.5 problems #168

@Mattchewone

Description

@Mattchewone

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions