fixed some things

it should work with angular routes now