You can simple use ng-init like this
<select ng-init="somethingHere = options[0]" ng-model="somethingHere" ng-options="option.name for option in options"></select>
More Related Contents:
- capitalize the first letter and the letter followed by a dot(.) using angular js
- AngularJS : Initialize service with asynchronous data
- AngularJS ui-router login authentication
- Way to ng-repeat defined number of times instead of repeating over array?
- Call AngularJS from legacy code
- AngularJS ng-click stopPropagation
- How to create separate AngularJS controller files?
- AngularJS sorting by property
- Angularjs – ng-cloak/ng-show elements blink
- How to trigger ngClick programmatically
- What is browser.ignoreSynchronization in protractor?
- Ng-model does not update controller value
- How to filter by object property in angularJS
- password-check directive in angularjs
- PDF Blob – Pop up window not showing content
- AngularJS: Injecting service into a HTTP interceptor (Circular dependency)
- What is the elegant way to get the latest date from array of objects in client side?
- Custom name for BLOB URL
- Correct use for angular-translate in controllers
- What happens with $q.all() when some calls work and others fail?
- angular directive ignore non-numeric input
- ng-selected not working in select element
- Confirmation dialog on ng-click – AngularJS
- Hide Angular UI Bootstrap popover when clicking outside of it
- Angularjs minification using grunt uglify resulting in js error
- How to change colours for Angular-Chart.js
- Genuinely stop a element from binding – unbind an element – AngularJS
- Clear localStorage on tab/browser close but not on refresh
- Angular controller scope not updating after jQuery ajax call
- angularjs: change filter options dynamically