Skip to content

Restangular.all doesn't return a restangular collection #32

@jondthompson

Description

@jondthompson

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions