Re: Angular ui-router link not working

300 views
Skip to first unread message
Message has been deleted

Sander Elias

unread,
Apr 16, 2019, 12:08:54 AM4/16/19
to Angular and AngularJS discussion
Hi Jess,

Can you make a plunker, or something so it becomes easier to help? Also, I noticed you are using very old versions, is there a specific reason for that?

Regards
Sander
Message has been deleted
Message has been deleted

Sander Elias

unread,
Apr 17, 2019, 1:20:06 AM4/17/19
to Angular and AngularJS discussion
Hi Jess,

Ah! Now I know your problem.
Browsers are working in a different mode when you load a file from the local file-system, and routing doesn't work in that mode. (there is a lengthy explanation, google for that if interested)
You should install a tool that lets you serve a local folder to the browser.
I would recommend this:

There are s boatload more available. This one is easy to install and use. But any will do.

Regards
Sander
Reply all
Reply to author
Forward
0 new messages