title: How do I use this format of JSON in ng-repeat
body: <p>This is the JSON and controllers im using:</p>
  
  <p>JSON Format:</p>
  
  <pre><code>       {"networks":[{"longName":"lo"},{"longName":"eth0"}]}
  </code></pre>
  
  <p>Factory:</p>
  
  <pre><code>app.factory('networkFactory', [ '$http', 
                                      function($http) {
                                          return $http.get("http://localhost:8080/JAXRS-RESTEasy/rest/toolservice/network")
                                              .success(function(data) {
                                                  return data;
                                              }).error(function(err) {
                                                  return err;
                                              })
                                          } ]);
  </code></pre>
  
  <p>Controller:</p>
  
  <pre><code>app.controller('networkController', [ '$scope', 'networkFactory',
                                          function($scope, jsonFactory) {
                                              jsonFactory.success(function(data) {
                                                      $scope.network = data;
                                      });
                                  }]);
  </code></pre>
  
  <p>HTML:</p>
  
  <pre><code>&lt;div ng-controller="networkController"&gt;
     &lt;table class="table"&gt;
       &lt;tr ng-repeat="x in network"&gt;
              &lt;td&gt;{{x.longName}}&lt;/td&gt;
       &lt;tr&gt;
     &lt;/table&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>So i tried this, and the names don't appear they seem to not get loaded into the html.</p>
  
  <p>What I'm I doing wrong, is the word "networks" in front of the JSON affect the way i need to read the JSON?</p>
  
  <p>Thank you.</p>