Code from my blog at http://cliffmeyers.com/blog
- Supports setting of locale once at application initialization.
- Simple translation support.
- 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.