<select class="js-example-basic-multiple"
ng-model="new_user_accounts"
ng-options="account.title for account in accounts track by account.id"
multiple="multiple">
</select>
<option ng-repeat="account in accounts"
ng-selected="user_accounts.indexOf(account.id) > -1"
value="{{account.id}}">{{account.title}}</option>