diff --git a/app/services/blog.service.js b/app/services/blog.service.js index 3047dcceb..fe632e3d6 100644 --- a/app/services/blog.service.js +++ b/app/services/blog.service.js @@ -19,7 +19,7 @@ import X2JS from 'xml2js' // fetch blog rss feed $http.get(CONSTANTS.BLOG_LOCATION) - .success(function(data) { + .then(function(data) { // parse the blog rss feed using x2js var parseString = X2JS.parseString parseString(data.trim(), function (err, res) { @@ -38,8 +38,7 @@ import X2JS from 'xml2js' deferred.resolve(result) }) - }) - .error(function(error) { + }, function(error) { deferred.reject(error) }) diff --git a/package.json b/package.json index 1c9d60547..fec389a11 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "angular-sanitize": "^1.4.9", "angular-storage": "0.0.13", "angular-touch": "^1.4.9", - "angular-ui-router": "^0.2.16", + "angular-ui-router": "^0.4.2", "angularjs-toaster": "^1.0.0", "appirio-styles": "0.x.x", "appirio-tech-ng-iso-constants": "^1.0.6",
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: