Ng-Repeat List items repeating but are empty
17:15 22 Apr 2014

When I run the following in my browser I get two list items, but nothing is displayed within the two items. So the loop itself works but nothing is being pulled from my list.

I reedited my submission to show an accurate representation of my problem

HTML





  


    
    
    
    
    

    
    
    
    
    
    







  
  • {{schools.name}}

Javascript

 function EductationCtrl($scope) {


    $scope.schools = [
    {name: 'university', major: 'Computer Science'},
    {name: 'College', major: 'Politcal Science and Finance'},

    ];

}

This is the end result:

  • javascript angularjs