ng_repeat

39 views
Skip to first unread message

Ankit Kumar

unread,
Oct 2, 2015, 2:56:02 AM10/2/15
to AngularJS
Want to display this deeply nested json 


using ng-repeat 

Any help ?
The codepen link to that

Sander Elias

unread,
Oct 2, 2015, 4:50:11 AM10/2/15
to AngularJS
Hi Ankit,

Your codepen is not working. Also the url you provide is not properly CORS enabled.
I copied the info into an plunk, and made you a small sample

While it is possible to walk the tree recursively, it won't do you too much good. I showed you how you can traverse the first levels, it's up to you to work it out better.

Regards
Sander 

Alberto Amerio

unread,
Oct 2, 2015, 6:04:25 AM10/2/15
to AngularJS
excellent sample ;-)

"wrecker"Straight From The Vault

unread,
Oct 2, 2015, 6:21:31 AM10/2/15
to ang...@googlegroups.com
Thank U Sander .
It helped literally Solved the problem !
But i searched a lot about this problem and found nothing .
I am new to angular !
So how should i start ?
Some best learning practices and References to follow

Thank u

On 10/2/15, Sander Elias <sande...@gmail.com> wrote:
> Hi Ankit,
>
> Your codepen is not working. Also the url you provide is not properly CORS
> enabled.
> I copied the info into an plunk, and made you a small sample
> <http://plnkr.co/edit/ORCOXl34lOPuv2fdE8i1?p=preview>
>
> While it is possible to walk the tree recursively, it won't do you too much
>
> good. I showed you how you can traverse the first levels, it's up to you to
>
> work it out better.
>
> Regards
> Sander
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "AngularJS" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/angular/cJeVcQPMvWw/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> angular+u...@googlegroups.com.
> To post to this group, send email to ang...@googlegroups.com.
> Visit this group at http://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>

Sander Elias

unread,
Oct 3, 2015, 4:59:15 AM10/3/15
to AngularJS, ian...@hotmail.com
Hi Ankit,

A good resource to start with is the styleguide. You might not understand everything right away, but start off with reading the whole thing. 
Then find a tutorial that suites you. Egghead has some great introduction videos if you are in tho that. Start building things, and if you have a question, or a problem, build a plunker, and ask over here.

Regards
Sander

"wrecker"Straight From The Vault

unread,
Oct 3, 2015, 8:31:21 AM10/3/15
to ang...@googlegroups.com
problem filtering results using ng-model

Exactly
I want to
lists movies in theaters for a given director
and
Sort the results by the rating of the movie first and then by the
number of characters in the movie name first (smallest first).
Like
https://www.dropbox.com/s/ulh3xk0zx9nxpya/sample-layout.png

Plunker
http://plnkr.co/edit/G1NC5AuBzOjYeew4lNWa

Thanks !



On 10/3/15, Sander Elias <sande...@gmail.com> wrote:
> Hi Ankit,
>
> A good resource to start with is the styleguide
> <https://github.com/johnpapa/angular-styleguide>. You might not understand
> everything right away, but start off with reading the whole thing.
> Then find a tutorial that suites you. Egghead has some great introduction
> videos if you are in tho that. Start building things, and if you have a
> question, or a problem, build a plunker, and ask over here.
>
> Regards
> Sander
>

"wrecker"Straight From The Vault

unread,
Oct 3, 2015, 8:35:24 AM10/3/15
to ang...@googlegroups.com
Thank u again Sander
For the resources and guidance
thank u !
Reply all
Reply to author
Forward
0 new messages