summaryrefslogtreecommitdiff
path: root/www/js/ng.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/ng.js')
-rw-r--r--www/js/ng.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/www/js/ng.js b/www/js/ng.js
new file mode 100644
index 00000000..d99945b1
--- /dev/null
+++ b/www/js/ng.js
@@ -0,0 +1,14 @@
+/*angular.module("ng")
+.factory('imageLoadingDataShare', function () {
+ var imageLoading = 1; // 1 = loading, -1 = error;
+ return {
+ 'set': function (val) {
+ imageLoading = val;
+ },
+ 'get': function() {
+ return imageLoading;
+ }
+ };
+
+
+});*/