Now also checks for data-ng-model attribute to select elements for processing