angular-country-names

1.0.0 • Public • Published

angular-country-names

Angular module which registers an array of country names as an angular constant.

Usage

// Include countryNames module in your module
angular.module('myModule', ['countryNames']);

// Inject countryNames constant into your controller
angular.module('myModule').controller('myCountroller', Controller);

Controller.$inject = ['countryNames'];

function Controller(countryNames) {
  console.log(countryNames);
}

Package Sidebar

Install

npm i angular-country-names

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • bainweb