An angularjs directive package for selecting country and display its corresponding state. Credits to Abhishek Kaushik.
Install usering bower:
bower install angular-country-state-select --save
Add to your app:
ngCountryStateSelect
<div ng-model="vm.country" country-select></div>
<div country="{{ vm.country }}" ng-model="vm.state" state-select></div>
- Use country codes
- Add SQL country codes and states