Base support for AngularJS localization