How to initialize select with AngularJS and ng-repeat?

Posted by Editorial Staff | Updated on

Want to initialize select with AngularJS and ng-repeat? you can add ng-selected attribute with a condition check logic for the option directive to to make the pre-select work.

Here is working demo: http://jsfiddle.net/dCFd2/


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers