text: (function () {
      angular.module("adminServices").factory('adminCampaignSegmentsResource', ['$resource', function ($resource) {
          return $resource('/admin/segments/:segmentId/campaigns/:campaignId', {segmentId: '@segmentId', campaignId: '@campaignId'});
      }]);
  })();