<selecttype="text"ng-model="user.role"class="input-medium"ng-options="f for f in ['Viewer', 'Editor', 'Read Only Editor', 'Admin']"ng-change="updateOrgUser(user)">
<selecttype="text"ng-model="user.role"class="input-medium"ng-options="f for f in ['Viewer', 'Editor', 'Read Only Editor', 'Admin']"ng-change="ctrl.updateOrgUser(user)">