Can't get NG-REPEAT working? It just comments out!

5,172 views
Skip to first unread message

shahru...@gmail.com

unread,
Aug 13, 2012, 4:49:52 PM8/13/12
to ang...@googlegroups.com
JSFIDDLE: http://jsfiddle.net/vgv3p/

I can't get it to loop through, any help? It's my first time using AngularJS and I was following a tutorial on YouTube.

Pawel Kozlowski

unread,
Aug 13, 2012, 4:52:25 PM8/13/12
to ang...@googlegroups.com
Here is a working version: http://jsfiddle.net/pkozlowski_opensource/vgv3p/1/
You were closing <div> too early....

Also check the http://pkozlowskios.wordpress.com/2012/08/12/using-jsfiddle-with-angularjs/
for jsFiddle tips.

Cheers,
Pawel
> --
> You received this message because you are subscribed to the Google Groups
> "AngularJS" group.
> To post to this group, send email to ang...@googlegroups.com.
> To unsubscribe from this group, send email to
> angular+u...@googlegroups.com.
> Visit this group at http://groups.google.com/group/angular?hl=en.
>
>

wieslaw

unread,
Aug 14, 2012, 3:22:54 AM8/14/12
to ang...@googlegroups.com, shahru...@gmail.com
Remember that   <div  ng-controller="ThingsCtrl"> holds the scope of controller </div> outside it will now work.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages