I am trying to make two sections in my HTML repeat itself. The first section is supposed to repeat itself twice and the second section is supposed to repeat itself four times.
Here is what the second section in particular looks like(I want this to repeat four times)
Here is my current progress - Fiddle( wo Angular JS applied to the second) and Fiddle 2(w AngularJS). I got the first section to repeat twice but when I apply the repeat directive to the second section, the second section disappears....
To accomplish both tasks, I used the AngularJS Ng-Repeat directive. I made sure to only bootstrap or initialize the Angular app once in a outer div that contains both sections. I followed syntax from Objects to group data together in JavaScript. I haven't read anything that says you can't have more than one ng-init(I used two to initialize data for the two sections)
<div id="rest_contents" data-ng-app=""> .....
Does anyone see an issue with my syntax or what I did wrong?