问题
I have a static sitemap.xml file which sits in the root of my server and needs to be served as is. Unfortunately, when I use the url www.mydomain.com/sitemap.xml it is rewritten by angularJS routing engine to http://www.mydomain.com/sitemap.xml#!/
Is there any way to disable angularJS routing only for a specific url? I can't modify webserver configuration so it must be done from angularJS conf.
Thanks
来源:https://stackoverflow.com/questions/23912719/disable-angularjs-routing-for-a-specific-url