Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

ng-repeat ignores values starting with a $ #1549

@florianorben

Description

@florianorben

See:
http://plnkr.co/edit/AL86RM?p=preview

I guess the reason is, that the $$hash keys, angular is adding to some objects shouldnt be printed out.

Perhaps it should be changed, so that only keys starting with '$$' get ignored, or make it configureable via an attribute, something like:

<p ng-repeat="d in data" ignore="all"> - ignores $ and $$, default behavior - </p>
<p ng-repeat="d in data" ignore="$"> - ignores $ - </p>
<p ng-repeat="d in data" ignore="$$"> - ignores only $$ - </p>
<p ng-repeat="d in data" ignore="none" [or: ignore="false"]> - ignores nothing - </p>

Any suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions