Add a permalink service
Map directive uses permalink service
Background layer directive uses permalink service
Not using $location anymore
Local copy of WMTSCapabilities.xml