code: function(target, type){
  					if(!target.api_url){
  						throw new Error("Invalid Target passed in");
  					}
  					var url = NJaxBootstrap.core_api_url + '/subscriptions';
  					url += '?entity_url=' + target.api_url;
  					if(type){
  						url += '&type=' + scope.type;
  					}
  
  					return $http.get(url);
  
  				}
docs: url:NJaxBootstrap.core_api_url  + '/:account/subscriptions/:subscription_id'