I don't have a test environment so code might not be perfect but assuming you are using angular1 you would loop over the elements in the form in the controller and check for $dirty.
angular.forEach($scope.form, function (value, key) { if (value.hasOwnProperty('$modelValue') && value.$dirty) { console.log('this element is dirty'); })