move xmlParser to utilities
This commit is contained in:
parent
4826edf310
commit
24b7ad13b8
2 changed files with 7 additions and 7 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue