I have the following array
:
vm.model= {"left":false,"middle":true,"right":false}
From which I want to obtain the value of each item of the arrangement and save it in the Database , but I do not know how to obtain for example left
and its value false
in angularjs
.
In synthesis I need to get the first position of the arrangement in other languages would be vm.model[0]
first position.
I would appreciate an answer