Of the two options to pass to cg-busy is it possible to have the advanced version to expect a promise (or something that has a .promise or .$promise similar to the simple version. That would allow the use of $q.defer() in the advanced version, and an easy invocation to either resolve or reject, for example:
Of the two options to pass to
cg-busy
is it possible to have the advanced version toexpect a promise (or something that has a .promise or .$promise
similar to the simple version. That would allow the use of $q.defer() in the advanced version, and an easy invocation to either resolve or reject, for example: