So I've been struggling to get angular-poller to do some polling for a series of restangular objects in the app I'm building. I figured it would be relatively easy to do.. plug in the promise in my directive that is in the restores, then account for it in my controller instead of the actual data using the .promise.then pattern.
However, it appears that angular-poller handles collections correctly. Instead of handing me a collection, I keep getting an array with individual restangular objects. This is a problem.
So I've been struggling to get angular-poller to do some polling for a series of restangular objects in the app I'm building. I figured it would be relatively easy to do.. plug in the promise in my directive that is in the restores, then account for it in my controller instead of the actual data using the .promise.then pattern.
However, it appears that angular-poller handles collections correctly. Instead of handing me a collection, I keep getting an array with individual restangular objects. This is a problem.