Update showErrors.js

scope.$broadcast('show-errors-check-validity');
on form $submitted == true