javascript - angularJS - Accessing JSON keys that have spaces in them -
above picture of json data being returned api. can see of json keys have 2 words space in between them. how can access in angular app. coming in array btw.
i have tried:
<li ng-repeat="task in maintask.tasks"> {{ task.['car id'] }} </li>
with no luck. help.
how
task['car id']
no period needed between task , opening bracket.
Comments
Post a Comment