Some fixes here and there.

Note: right now for some reason the initial url route won't get
loaded by angularjs. I have no idea why and am tracing that down.