fix($location): use url resolve shim