AngularJS - Set default value on select inside a ng-repeat [duplicate]
This question already has an answer here: AngularJS. When select have ng-model attribute, ng-selected not working 2 answers I'm facing to an issue with AngularJS - I'm not able to display the selected value in a <select> . Here is my use case: I have a view which starts by an ng-repeat to display components. Each component contains a select to choose the vat rate. When creating new items, it looks fine. But when I'm editing existing items, the actual vatRate code is not displayed in the select, and instead I see the default option "-- Select VAT Rate --" instead of the selected VAT. My model