Add support for the ng-error event to ngEventDirs.js

This adds the ability to use ng-error on elements img, script, style, object in order to handle things like paths not existing.