In a form with two radio buttons, I am trying to set the first one as the default selection.
<input type="radio" name="playlist" ng-value="myCtrl.cleanPlaylist" ng-model="myCtrl.playlistSelected"> Clean
<input type="radio" name="playlist" ng-value="myCtrl.explicitPlaylist" ng-model="myCtrl.playlistSelected" ng-disabled="myCtrl.explicitDisabled">
Although I have designated the first option as selected in my controller, it does not seem to be working...
var myModule = angular.module("MyApp", []).controller('MyController', function(){
this.explicitDisabled = false;
this.playlistSelected = this.cleanPlaylist;
})