I have a few checkboxes:
Try my baby:
**
myApp.filter('inputSelected', function(){
return function(formData){
var keyArr = [];
var word = [];
Object.keys(formData).forEach(function(key){
if (formData[key]){
var keyCap = key.charAt(0).toUpperCase() + key.slice(1);
for (var char = 0; char
**
Then for any ng-model with checkboxes, it will return a string of all the input you selected:
{{formData.heardAboutItn | inputSelected }}
//returns Brother or Sister, Friend or Acquaintance