(Bower repository for production use)
Access to the JS translation files generated by willdurand/JSTranslationBundle
## Usage
- Include the js file :
<script type="text/javascript" src="/bower_components/angular-ui-translation-bower/angular-translation.js"></script>
- Register module into your application :
angular.module('MY_APP', [ 'ui.translation' ]);
- Use the
filter
:
Simple translation
{{ 'trans_key'|trans:placeholder:domain }}
Translation with pluralization
{{ 'trans_key'|transChoice:count:placeholder:domain }}