title: How broadcast data of HTTP post method in angularjs
body: <p>I'm using the same HTTP method in different controller like following sample:</p>
  
  <p><strong>Service:</strong></p>
  
  <pre><code>var method="sampleMethod"
      HotalStatisticService.GetReservations = function (data) {
          return $http({
              method: 'POST',
              data: data,
              cache: false,
              url:'http://sample.com/'+method
          });
      }
  </code></pre>
  
  <p><strong>first controller</strong></p>
  
  <pre><code>.controller("SampleACtrl", function ($scope,HotalStatisticService ) {
      HotalStatisticService.GetReservations({start:start, end:end, type:type})
          .success(function (data) {
           $scope.sampleA=data;
          })
  }
  </code></pre>
  
  <p><strong>second controller</strong></p>
  
  <pre><code>.controller("SampleBCtrl", function ($scope,HotalStatisticService ) {
      HotalStatisticService.GetReservations({start:start, end:end, type:type})
              .success(function (data) {
               $scope.sampleB=data;
              })
      }
  </code></pre>
  
  <p>How do I use here method in the only one controller?</p>