I am trying to get values in multiselect from two json in AngularJS.
One JSON has headers and the second have corresponding data.
In one ng repeat i want the select element with header name and options
from second json.
It can create the select element and do not get the option list.
I think this is due to the scope of variables i.e the second json scope is
not available here.
the format of json is
colName={["name":"nokia","number",6768],["name":"motorola","number",878],["name":"samsung","number",768]};
dataList=
{"1":{"name":"nokia","multiselectValues":{"MULTISELECT":[{"key":"1001","value":"test2","selected":false},{"key":"1002","value":"Test","selected":false}]}},
"2":{"name":"samsung","multiselectValues":{"MULTISELECT":[{"key":"1001","value":"test2","selected":false},{"key":"1002","value":"Test","selected":false}]}}}
Please suggest how to solve this problem.
--
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 http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.