angularjs - Using ng-repeat/ng-option select expression in custom directive -
ng-repeat , ng-select allow user pass in expression in style select x x.name. i'm wondering if it's possible use style of expression in custom directive.
i've had through angular source ng-options , repeat, i've not been able find how evaluate these attributes. if point me example or documentation appreciated!
edit: use case angular typeahead component, wish able pass in both arrays of primitives , objects, change how displayed assigned ng-model. own knowledge should ever become requirement use in work.
Comments
Post a Comment