Url lib for CouchDb&Angular based apps