Amaan Imtiyaz
Amaan Imtiyaz

Reputation: 35

Cannot use UI router, shows error for ui-view , ui-sref

I cannot use UI router, I injected it. but it doesn't seem to work. Here is the code's screenshot.

Please see the screenshot here

Upvotes: 0

Views: 55

Answers (2)

ahsan ayub
ahsan ayub

Reputation: 307

You have not passed any template to ui.router, so its not working. Line underneath showing that it has no value, asking your motive to write ui-view? Inject a template and it will be gone. and if you need further assistance let me know, else accept my answer so that this thread can be closed.

Upvotes: 0

IsraGab
IsraGab

Reputation: 5185

you have that row because your editor doesn't know the attribute ui-view.

It doesn't mean your can not use it.

Upvotes: 1

Related Questions