Setting a Default Value for Select Elements in AngularJS

Elliot Forbes ⏰ 1 Minutes 📅 Apr 15, 2017

This is just a quick code snippet for those of you facing this slight problem when developing your applications using AngularJS 1.5. This works for those of you

<select ng-model="selection" ng-init="selection ='The First Default Option'">
  <option>The First Default Option</option>
  <option>The Second non-default option</option>
</select>