I'm not an angular guru, so I'm not sure what the "proper" way of getting the last part of a url is with it.