Skip to content

achr3f/angularJs_country_select

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

AngularJS country select

Country select is an AngularJS directive for picking countries from a list.

It uses the same countries as the country_select gem.

This directive will display the country's name in <option> but will bind your ng-model to the ISO-3166 alpha-2 code of the selected country.

How to USE

  • Add the dependency to your app's module angular.module('myApp', ['countrySelect']);

HTML

  • Add the markup <div country-select ng-model="selectedCountry"></div>

HAML

  • Add the markup %div{ country_select: true, ng_model: "selectedCountry" }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published