Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
README.md
cuiI18n.js

README.md

cuiI18n filter

Version 1.0

Description

This filter parses an array of internationalized names and decides which to display, based on the user's language and the $cuiI18n provider's language preference array.

Usage Example

    service.name=[
        {
            lang:'en_US',
            text:'FooBar'
        },
        {
            lang:'pt_PT',
            text:'Portuguese FooBar.'
        }
    ];
  <span ng-bind="service.name | cui18n"></span>