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

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -