An AngularJS directive and provider for i18n purposes