diff options
Diffstat (limited to 'www/js/app.js')
| -rw-r--r-- | www/js/app.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/www/js/app.js b/www/js/app.js index 77ab0c38..a65d46ba 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -5,6 +5,19 @@ angular.module('zmApp', [ ]) +.directive('img', function () { + return { + restrict: 'E', + link: function (scope, element, attrs) { + console.log ("********** IMG DIRECTIVE "); + // show an image-missing image + // element.error(function () { + + // }); + } + } +}) + .run(function ($ionicPlatform, $ionicPopup, $rootScope, $state, ZMDataModel,$cordovaSplashscreen) { // generates and error in desktops but works fine |
