Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Commit

Permalink
fix(demo): fixes wrong method call in demo
Browse files Browse the repository at this point in the history
  • Loading branch information
Bogdan Bucur authored and 0x-r4bbit committed Jul 7, 2014
1 parent 6c2ab30 commit 47fc943
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/ex1_basic_usage.htm
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ <h2 translate="SUBHEADER">Subheader</h2>

$scope.setLang = function(langKey) {
// You can change the language during runtime
$translate.uses(langKey);
$translate.use(langKey);

// A data generated by the script have to be regenerated
$scope.jsTrSimple = $translate.instant('SERVICE');
Expand Down

0 comments on commit 47fc943

Please sign in to comment.