This is my code what's wrong in this
<select name="countryName" class="form-control" ng-model="twoFAData.country" style="height:35px">
<option ng-repeat="country in contriesWithCode" value="{{country[2]}}" ng-selected="accountDetailsRes.country == country[2]">{{country[1]}} ({{country[0]}})</option>
</select>
In the JS I defined this
$scope.defaultCountry = "USA";
$rootScope.accountDetailsRes = {country: $scope.defaultCountry, state: "selectstate"}; // its default country
Thanks In advance