Skip to content

is this a bug? about $object. #1186

@think2011

Description

@think2011

test.json

[
  {
    "a": 1
  },
  {
    "b": 2
  }
]

my code:

        var tasks = Restangular.all("test.json").getList();

        tasks.push({c: 3});
        $scope.tasks = tasks.$object; // {c:3} disappear?

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