mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
docs(directive): fix typo
This commit is contained in:
parent
f5c18861b6
commit
7bf32ccadb
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ In this example we will build a directive that displays the current time.
|
|||
}
|
||||
|
||||
// listen on DOM destroy (removal) event, and cancel the next UI update
|
||||
// to prevent updating time ofter the DOM element was removed.
|
||||
// to prevent updating time after the DOM element was removed.
|
||||
element.bind('$destroy', function() {
|
||||
$timeout.cancel(timeoutId);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue