Url base definition and support for web crawlers, according to http://docs.angularjs.org/guide/dev_guide.services.$location.