Updated to use resource location as full entity. Hack until angular allows forward slashes in path variables.