title: controller pass $scope value to another controller
body: <p>I'm very new to AngularJS, how can I pass input scope from first controller to the second controller for the data $scope.requestURL</p>
  
  <p>I've search about the service method but I have no idea how to apply it.</p>
  
  <pre><code>    .controller('ZipController', ['$scope', function($scope) {
      $scope.zipCode = '10028';
  
      $scope.setURL = function() {
      $scope.requestURL = 'http://congress.api.sunlightfoundation.com/legislators/locate?zip=' + $scope.zipCode + '&amp;apikey=xxxxx';
      };
  
      }])
  
     .controller('ListController', ['$scope', '$http', 
     function($scope, $http) {
     $http.get($scope.requestURL).success(function(data) {
     console.log(data.results);
     $scope.congress = data.results;
     });
     }]);
  </code></pre>