Hi Lucsian, Its not entirely clear to me what it is you are asking. As I read it, you want to use a getter-like function, and use the result as the options for a select?
If that is the case, you can use ng-Init <https://docs.angularjs.org/api/ng/directive/ngInit> You can use it like this: <tr ng-repeat="row in rowCollection" ng-init='choices= accessHasMapWith(row)`> <td>{{row.firstName}}</td> <td>{{row.lastName}}</td> <td> <select ng-model="eu[row.uid]" ng-options="x.data for x in choices track by x.id" ng-change="SelectedRow(row, eu[row.uid])" ></select> </td> </tr> Where accessHasMapWith is a function you expose from your controller. Also, unrelated but relevant, you should switch to the controllerAs syntax, and start using components. For an elaborate explanation of that, see the style-guide <https://github.com/johnpapa/angular-styleguide> Regards Sander -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
