Open mukulgupta2507 opened 9 years ago
Same problem, but #29 says that cg-busy="{ promise: [ removeFilePromise, fileUploadPromise ] }"
does NOT work. My problem is that $scope.promises = [$scope.promise1, $scope.promise2]
+ cg-busy="{ promise: promises }"
does not start the cgBusy...
+
Hi,
I have recently integrated angular-busy in my project. As soon as I integrated in my project, it started giving me following error:
I have searched on internet and it seems to be some angularjs issue which comes when there is some function which returns an array of objects.
I'm using two promises as used in this plunker http://plnkr.co/edit/VO7K2eE7GmEp0UY9wmbi?p=preview mentioned in this thread https://github.com/cgross/angular-busy/issues/29.
Here is my code of promises:
Can anyone please help me where exactly am I doing wrong ?
Thanks