ng-country-select
ng-country-select copied to clipboard
Module not working if follow instruction
I followed the instruction to use module but got not working module. Maybe something else is needed?
Fixed this by replacing template with folowing:
template: '<select><option ng-repeat="country in countries" value="country.code">{{country.name}}</option></select>',
you forgot the "{{}}" at values
template: '<select><option ng-repeat="country in countries" value="{{country.code}}">{{country.name}}</option></select>',
@hsilvest :+1:
@amigo00678, don't modify the module, add an ng-model to the tag:
<country-select ng-model="country" cs-priorities="GB, US, CN, ES"></country-select>
angular app not detecting the 'country-select' tag