class PublicTagsAPIService {
    constructor(publicAPIRoute) {
        this.publicAPIRoute = publicAPIRoute;
    }

    getPopularTags() {
        return this.publicAPIRoute('tags').one('popular').getList().then(
            (tags) => tags.plain()
        );
    }
}

angular.module('materialscommons').service('publicTagsAPI', PublicTagsAPIService);

@@ -38,30 +38,27 @@
 tructor(
-publicAPIRoute
+Restangular
 ) %7B%0A    
@@ -70,39 +70,33 @@
 his.
-publicAPIRoute = publicAPIRoute
+Restangular = Restangular
 ;%0A  
@@ -147,36 +147,35 @@
 his.
-publicAPIRoute('tags
+Restangular.one('v3
 ').one('
 popu
@@ -174,25 +174,55 @@
 ne('
-p
+getP
 opular
-').getList
+TagsForPublishedDatasets').customPOST
 ().t
@@ -260,16 +260,21 @@
 .plain()
+.data
 %0A       

Switch to actionhero based API