Skip to content

1.0.0-alpha0 Can't use named service as string for resolver #2588

Closed
@joshrickert

Description

@joshrickert

Trying out the new alpha build. I ran into this issue where I can't specify resolves by service name:

    resolve: {
      'test': 'testResolver',
    }

I get

Error: [ng:areq] Argument 'fn' is not a function, got string

Here is a plunkr. Navigate to home.foo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions