diff options
| author | ARC <arjunrc@gmail.com> | 2015-04-29 13:32:58 -0400 |
|---|---|---|
| committer | ARC <arjunrc@gmail.com> | 2015-04-29 13:32:58 -0400 |
| commit | a3f1e385fc0f5a99d6d19aa6fc2ebfef65533070 (patch) | |
| tree | 794e48eb5d92e5c654942a971a967d446e1b2348 /www/js/app.js | |
| parent | 1a57eaad4dd25afc1f59c83968bcd408300a1270 (diff) | |
added support to refresh image feeds
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 |
