/angularjs-country-state-select

An angularjs directive package for selecting country and display its corresponding state.

Primary LanguageHTML

angularjs-country-state-select

An angularjs directive package for selecting country and display its corresponding state. Credits to Abhishek Kaushik.

by Efren Bautista Jr

How to install

Install usering bower:

bower install angular-country-state-select --save

Add to your app:

ngCountryStateSelect

Usage

<div ng-model="vm.country" country-select></div>
<div country="{{ vm.country }}" ng-model="vm.state" state-select></div>

Upcoming Updates

  1. Use country codes
  2. Add SQL country codes and states