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

Commit

Permalink
fix(docs): Fix typo in zh-cn docs
Browse files Browse the repository at this point in the history
  • Loading branch information
wenzhixin authored and knalli committed Aug 30, 2015
1 parent 2ae85ec commit 2a16eb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/guide/zh-cn/03_using-translate-service.ngdoc
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Just call it this way:

<pre>
app.controller('Ctrl', ['$scope', '$translate', '$rootScope', function ($scope, $translate, $rootScope) {
$rooScope.$on('$translateChangeSuccess', function () {
$rootScope.$on('$translateChangeSuccess', function () {
$translate('HEADLINE').then(function (translation) {
$scope.headline = translation;
});
Expand Down

0 comments on commit 2a16eb6

Please sign in to comment.