diff options
Diffstat (limited to 'www/js/app.js')
| -rw-r--r-- | www/js/app.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/www/js/app.js b/www/js/app.js index a65d46ba..908f09bf 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -7,9 +7,12 @@ angular.module('zmApp', [ .directive('img', function () { return { - restrict: 'E', + restrict: 'AE', link: function (scope, element, attrs) { console.log ("********** IMG DIRECTIVE "); + + // if (!attr.ngSrc) + // element[0].src = 'img/demo.gif'; // show an image-missing image // element.error(function () { |
