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

Create a filter which takes map and returns a list of key value pairs. Useful for iterating over Maps #394

Closed
@mhevery

Description

@mhevery
<div ng-repeat="item in map | items"> 
  {{item.key}}: {{item.value}}
</div>

this implies

class KeyValue {
  var key;
  var value
}
@Formatter('items')
class Items {
  List<KeyValue<K, V>> call(Map<K, V> map) => ...;
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions