Code from my blog at http://cliffmeyers.com/blog
Integrates jquery-globalize with angular.js.
- Supports setting of locale once at application initialization.
- Simple translation support.
Integrates i18n-js with angular.js.
- i18n-js is initialized prior to angular.js bootstrap.
- Locale can be changed at runtime.
- Translation support.
- Hooks for formatting of numbers, currencies and dates.
Illustrates use of the Repository pattern for mocking server dependencies in an AngularJS application. Sample app consists of two pages that fetch posts and forums from reddit.com.