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.
ngList renders scope variable instead of the value (doesn't support interpolation) #14624
Open
Description
What is the current behavior?
- ngList uses the passed scope variable literally instead of the value
- Combination of ng-attr- and ng-list breaks ng-list. ng-list uses the default delimiter instead of the passed one.
Demo
https://plnkr.co/edit/aygfAGwMluonXRZGWEfy?p=preview
What is the expected behavior?
ng-list uses the scope variable and resolves the value.
What is the motivation / use case for changing the behavior?
- Using ng-List in custom directive with a template.
- Adding ng-list conditionally