An Angular service that can extract key/value pairs from the URL