Change routing to be able to directly match URIs as provided by the API. Added path matching (since angularJS supports * matching since 1.2.0).