Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jakke
· 11y ago · 0 comments
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.
Comments
[–]
javamonn
11y 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
[–]
skykooler
11y ago
I ended up rewriting the page without any JS frameworks - now it's a lot more compact. Index.html:
http://pastebin.com/EwUDuhYG
[–]
jakke
OP
11y 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.