title: how to send the data of a ng-controller to another jsp page when click on send button?
body: <p>Here i will add the product data from response of http for myctrl then when i click on checkout i have to bind all this information and send it to another jsp page in that page i have to get the response data.How can i achieve it by using angularjs. please help me out     </p>
  
  <pre><code>&lt;div ng-app="MyApp" ng-controller="MyCtrl"&gt;
       &lt;div ng-repeat="x in names"&gt;
        &lt;div&gt;Product Name : {{x.itemname}}&lt;/div&gt;
         &lt;div&gt;Qty : {{x.itemQty}}&lt;/div&gt;
      &lt;div&gt;Price : {{x.itemQty}}&lt;/div&gt;
      &lt;div&gt;Total : {{x.itemQty}}&lt;/div&gt; 
      &lt;/div&gt;
      &lt;div&gt;&lt;button ng-click="checkOut()" &gt;CheckOut&lt;/button&gt;&lt;/div&gt;
      &lt;/div&gt;
  &lt;script&gt;
  angular.module("MyApp",[])
  .controller("MyCtrl", ['$scope', '$http', function($scope, $http) {
    $http.get('responseData.html').success(function(response) {
              $scope.names= response;
            });
  }]);
  &lt;/script&gt;
  </code></pre>