Y
Hacker News
new
|
ask
|
show
|
jobs
by
jakke
4115 days ago
Be sure to link it to the #/ address if you're using the plugin. I had the same problem, this is because the router is redirecting all to the #/-address.
2 comments
javamonn
4115 days ago
I haven't looked at the app, but if he enables html5 mode you can drop the hash suffix on urls.
https://docs.angularjs.org/guide/$location
link
skykooler
4115 days ago
I ended up rewriting the page without any JS frameworks - now it's a lot more compact. Index.html:
http://pastebin.com/EwUDuhYG
link
jakke
4114 days ago
Neat, thanks for sharing! I ended up using a framework because I had plans to make this easy to customize and add a few more features.
link
https://docs.angularjs.org/guide/$location