Hi,
I am trying to write an Angular Expression to extract the css of the
'HeaderSection1' section using the JSON below:
{
"pageid": "page1",
"sections":
[
{ "id": "HeaderSection1", "value": "Welcome", "css": "hide"},
{ "id": "HeaderSection2", "value": "Safe Firework Selling", "css": "hide"}
],
...
I know how to pull the 1st item in the array:
{{content.sections[0].css}}
But struggling as to how to work out how to do something like:
{{content.sections['id'="HeaderSection1"].css}}
Any help would be much appreciated!
--
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.