Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

Add ability to call operator[] from within template #416

Closed
yjbanov opened this issue Jan 17, 2014 · 0 comments
Closed

Add ability to call operator[] from within template #416

yjbanov opened this issue Jan 17, 2014 · 0 comments
Milestone

Comments

@yjbanov
Copy link
Contributor

yjbanov commented Jan 17, 2014

I have an object that defines operator[], but itself is not a List or a Map, which is quite common in Dart. But Angular doesn't like it:

Eval Error: Attempted field access on a non-list, non-map while evaling [obj['some_key']]

Template code:

  • {{obj["some_key"]}}
  • @ghost ghost assigned jbdeboer Jan 22, 2014
    jbdeboer added a commit to jbdeboer/angular.dart that referenced this issue Jan 27, 2014
    jbdeboer added a commit to jbdeboer/angular.dart that referenced this issue Jan 28, 2014
    Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
    Labels
    None yet
    Development

    No branches or pull requests

    2 participants