i have extracted dynamically two variabkes from routeParams => sem and
i want to extract an array cs so the please tell me how to convert string
query "array.sem1.cs" into real object query array.sem1.cs
var array=[sem1:{
cs: [
{
"sub": "sub1",
thumb_src: "img/thumb_images/wizard1.jpg",
abbrev: "sub"
},
{
sub: "sub2",
thumb_src: "img/thumb_images/wizard2.jpg",
abbrev: "sub"
},
{
sub: "sub3",
thumb_src: "img/thumb_images/wizard1.jpg",
abbrev: "sub"
}
]
}]; (there are multiple objects in the array i have shown only one
sem1)
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.