I have two radio buttons and I want the first to be automatically selected
<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.
I have the first one to be selected in my controller but for some reason it's not working...
var myModule = angular.module("MyApp", []).controller('MyController', function(){
this.explicitDisabled = false;
this.playlistSelected = this.cleanPlaylist;
})
checkedproperty to the first? Couldn't believe the other answers didn't say that