Hi Friends,
Using canjs how can we work with nested models,
Like, I have a Model, which gives the following formatted data.
[ "libraries" : [ { "lib1" : "aaa", "lib2" : "bbb", "lib3" : "ccc"} ] ]
and the another one which covers above data,
Like,
college : { "student" : "1000", "classes" : "20", "libraries" : [ { "lib1" : "aaa", "lib2" : "bbb", "lib3" : "ccc"} ] }
So, my question is can I use the library Model for the college one, which will help to manage data easily.
Thanks,
Dj.