title: ng-repeat not printing resp.items from cloudendpoint on webpage
body: <p>I'm new to angularjs. I'm working on a web application using angularjs and cloud endpoints. I'm getting the response from endpoint and I can see that in <strong>Console.log</strong> also. but when I'm trying to print that response it's not working. I'm not getting what's going wrong. Can anyone fix this?</p>
  
  <p>Here's my code.</p>
  
  <p><strong>HTML Page</strong></p>
  
  <pre><code>&lt;div ng-repeat="lister in lists"&gt;
  &lt;/div&gt;&lt;h2&gt;{{lister.title}}&lt;/h2&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>AngularJs Code</strong></p>
  
  <pre><code>    &lt;script&gt;
         function init() {
         window.init();
          }
      &lt;/script&gt;
      &lt;script&gt;
         var app = angular.module('list',[]);
         app.controller('listCtrl',function($scope,$window){
            $window.init= function() {
               $scope.loader();
             };
            $scope.loader= function(){
               gapi.client.load('MyEndPoint', 'v1', function(){
  
               gapi.client.MyEndPoint.MyMethod1({
              'latitude':'24.5555','longitude':'45.55555'
               }).execute(function(resp) {
                  $window.console.log(resp);
                  $scope.lists = resp.items;
            });
             }, 'https://MyEndpointURL.appspot.com/_ah/api');
             };
      &lt;/script&gt;
  </code></pre>