move xmlParser to utilities

This commit is contained in:
Colin Frei 2013-07-14 10:09:15 +02:00
parent 4826edf310
commit 24b7ad13b8
2 changed files with 7 additions and 7 deletions

View file

@ -287,13 +287,6 @@ angular.module('podcasts.services', ['podcasts.utilities'])
}
}
}])
.service('xmlParser', ['$window', function($window) {
return {
parse: function(data) {
return angular.element(new $window.DOMParser().parseFromString(data, "text/xml"));
}
};
}])
.service('url', ['$window', function($window) {
return {
url: $window.URL || $window.webkitURL,