title: Displaying Results returned from Server in Angularjs
body: <p>Good day;
  I am learning angularjs and i looked at the example found in the spring website <a href="http://spring.io/guides/gs/consuming-rest-angularjs/" rel="nofollow">http://spring.io/guides/gs/consuming-rest-angularjs/</a>.
  The problem is nothing displays on the view but using firebug, i can see that data is returned from the server.
  Here is my controller</p>
  
  <pre><code>function AController($scope, $http){
      $http.get('http://127.0.0.1:5000/auth/users').
          success(function(data){
              $scope.user = data;
          });
  
  }
  </code></pre>
  
  <p>and my view</p>
  
  <pre><code>&lt;div class="container" ng-controller="AController"&gt;
              &lt;p&gt;Email is {{user.email}}&lt;/p&gt;
              &lt;p&gt;password is {{user.password}}&lt;/p&gt;
  
          &lt;/div&gt;
  </code></pre>
  
  <p>Can someone please tell me what i am doing wrong?</p>
  
  <p>Oh and here is the data returned from the server</p>
  
  <pre><code>[
      {
          "email": "azy@yahoo.com", 
          "id": 15, 
          "isActive": null, 
          "password": "$6$rounds=93733$jj3PWiZjtc0yC1Ws$bCIpDORaYFUDD.8kRRGpV64rMqFFQgR9ujlQEeTSd4r/To1snucdg.fsy2Ovkz39tRpy18ZWQnN7dKomdapKx."
      }, 
      {
          "email": "abd@yahoo.com", 
          "id": 16, 
          "isActive": null, 
          "password": "$6$rounds=100762$uSVOZI5oPAtEaDn9$HqqfIYQVw7g2ITH7IzK/SnCXBnKJW9wQTjSiJ16BGogkWFh89iC2/SjEY/OEXNrB/YHGI66R.wjwgg5n.2R5P0"
      }, 
      {
          "email": "xvc@yahoo.com", 
          "id": 17, 
          "isActive": null, 
          "password": "$6$rounds=94664$A/yXLhEW57Sd3ymD$unFuK75sG6jbvH9b2eQTcnIIjYi16NmSCPSxgPR7noE.JSmZDCtvxctY1s9t69nRj5IZMviPEhopnci9CpBaX/"
      }
  ]
  </code></pre>