npm.io
1.0.0 • Published 9 years ago

angular-country-names

Licence
MIT
Version
1.0.0
Deps
0
Vulns
0
Weekly
0

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);
}

Keywords