ng-error
Angular ngError directive
Install via bower and usage in browser
bower install ng-error --save
Add a <script>
to your html
...
Install via npm and usage with browserify
npm install ng-error --save
// Require it in your module; // Then use with a angularvar yourModule = angular;
Usage
<!-- You can add the `ng-error` directive in `<img>` tags -->