angular ng-repeat is not working
angularjs, angularjs-ng-repeat
Solution
In your HTML, you misspelled `ng-controller`. You're missing an `r`. Of course, also, close the `body` tag.
After fixing your `ng-controller`, to make your code work in jsFiddle, you also have to change `onLoad` on `Frameworks & Extensions` to `No-wrap - in <head>` as @zeroFlagL mentioned.
Problem
I want to run a small example but it is not working. the html. ``` <body ng-app="angello"> <div ng-contoller="mainController"> <div class="span4 sidebar-content"> <h2> stories </h2> <div ng-repeat="story in stories"> <h4> {{ story.title }} </h4> <p> {{ story.description }} </p> </div> </div> </div> ``` the script code is: ``` angular.module('angello',[]) .controller('mainController', function( $scope ) { $scope.stories = [ {title:'Story 00', description:'Description pending.'}, {title:'Story 01', description:'Description pending.'}, {title:'Story 02', description:'Description pending.'}, {title:'Story 03', description:'Description pending.'}, {title:'Story 04', description:'Description pending.'}, {title:'Story 05', description:'Description pending.'}]; }); ``` expected is that the stories are listed but there is only the {{ story.title }} {{ story.description }} tags. What is the Problem? why are the stories not listed? the fiddle: http://jsfiddle.net/tire0011/gU7Qx/