redefined the base url
fixed relative path issue for angular's pretty url.