angular-translate-directive
v1.0.5
Published
angular-translate-directive
Downloads
2
Maintainers
Readme
angular-translate-directive
Instalation
You can use bower
bower install angular-translate-directive
or npm to install the package
npm install angular-translate-directive
Usage
Just include package after angular.js and angular-translate. For example:
<script src="/vendor/angular/angular.js"></script>
<script src="/vendor/angular-translate/angular-translate.js"></script>
<script src="/vendor/angular-translate-directive/angular-translate-directive.js"></script>
<script src="/js/app.js"></script>
And now you can add to any html element new attribute.
<a translate-lang="en">English</a>