Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error thrown when using shorthand form for params #1554

Closed
jamesbrobb opened this issue Nov 17, 2014 · 1 comment
Closed

Error thrown when using shorthand form for params #1554

jamesbrobb opened this issue Nov 17, 2014 · 1 comment
Assignees
Labels
Milestone

Comments

@jamesbrobb
Copy link

I'm trying to use the shorthand form for params - specified in the docs here:

http://angular-ui.github.io/ui-router/site/#/api/ui.router.state.$stateProvider#state

but am getting this error:

Error: [$injector:modulerr] Failed to instantiate module app due to:
obj is not an object

You can see the entire error here.

http://plnkr.co/edit/x2bCySuwSl7rg789c8Hv?p=preview

Just to note, the longer form works as expected.

@christopherthielen christopherthielen added this to the 0.2.13 milestone Nov 17, 2014
@christopherthielen christopherthielen self-assigned this Nov 17, 2014
@christopherthielen
Copy link
Contributor

Thank you for the concise bug report with reproduced plunk! I'll fix this for 0.2.13 which should be released in a day or two.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants