The flow is a test flow with an inject node > function node > ui_template node > debug node.
The inject node triggers the function node to send the checkbox items to the ui_template node. The ui_template node has a button which when pressed sends the name & state of all checkbox items.
The debug node is used to check the output message from the ui_template node.
[{"id":"630185ed.9bf5dc","type":"ui_template","z":"49ae551.63de1ac","group":"b1dfa150.96c78","name":"Form Checkboxes","order":8,"width":0,"height":0,"format":"<form>\n <fieldset style=\"width:100%\">\n <legend>Select</legend>\n <div ng-repeat=\"item in msg.payload\">\n <label>{{item.name}}\n <input type=\"checkbox\" style=\"float:left; position: relative; top: 5px;\"\n ng-model=\"check\">\n </label>\n </div>\n </fieldset>\n <!-- how to send the state of all items from the fieldset -->\n <md-button ng-click=\"send({payload:????})\">\n Send values\n </md-button>\n</form>\n","storeOutMessages":false,"fwdInMessages":false,"templateScope":"local","x":590,"y":300,"wires":[["48717b7e.658fa4"]]},{"id":"2b3671e8.cadd4e","type":"function","z":"49ae551.63de1ac","name":"Define Checkbox Data","func":"msg.payload=[{\"name\":\"item a\"},{\"name\":\"item b\"},{\"name\":\"item c\"}];\nreturn msg;\n","outputs":1,"noerr":0,"x":360,"y":300,"wires":[["630185ed.9bf5dc"]]},{"id":"48717b7e.658fa4","type":"debug","z":"49ae551.63de1ac","name":"DEBUG CHECKBOXTEMPLATE","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":860,"y":300,"wires":[]},{"id":"61a93436.0d020c","type":"inject","z":"49ae551.63de1ac","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":true,"onceDelay":0.1,"x":110,"y":300,"wires":[["2b3671e8.cadd4e"]]},{"id":"b1dfa150.96c78","type":"ui_group","z":"","name":"TESTGROUP","tab":"e0334f63.e88b4","disp":true,"width":"6","collapse":false},{"id":"e0334f63.e88b4","type":"ui_tab","z":"","name":"TABTEST","icon":"dashboard","disabled":false,"hidden":false}]