I'm working on a form that includes multiple checkboxes populated with data from a JSON file using ng-repeat. After submitting the form, I need to retrieve the data from the checked checkboxes. How can I accomplish this in my controller after the form is submitted?
I've managed to display the checked data on the page itself by using ng-model="s.checked"
, but I'm now struggling to access this data in the controller.
For more information, check out this Plunk