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

ng-bind with objects #1

Closed
kasperlewau opened this issue Jul 11, 2015 · 0 comments
Closed

ng-bind with objects #1

kasperlewau opened this issue Jul 11, 2015 · 0 comments
Labels

Comments

@kasperlewau
Copy link
Contributor

$scope.expr = { name: 'Mike' };

works
ng-bind=":key:expr.name" // 'Mike'

does not work
ng-bind=":key:expr" // [object Object]


Need to hook into ng-bind and make it aware of the :key:expr syntax, and evaluate the expr if it is not a primitive.


Related issue: angular#11716

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant