From 43c6b6a0c25ed32c2409612f6afc7e3dad854f6d Mon Sep 17 00:00:00 2001 From: PliablePixels Date: Mon, 27 Jul 2015 05:10:48 -0400 Subject: fixed bug with spinner loading not updating dynamic url changes --- www/js/app.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'www/js/app.js') diff --git a/www/js/app.js b/www/js/app.js index fdd1549c..67844045 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -89,6 +89,12 @@ angular.module('zmApp', [ $element.after(loader); } loadImage(); + $attributes.$observe('imageSpinnerSrc', function(value){ + //console.log ("SOURCE CHANGED"); + loadImage(); + //deregistration(); + + }); function loadImage() { $element.bind("load", function (e) { -- cgit v1.2.3