aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVojta Jina2012-01-26 09:13:08 -0800
committerVojta Jina2012-01-26 09:13:08 -0800
commitb6f61a89cf36a41198fecebbfb617c47217e9a64 (patch)
tree31e381f8671acad1e721f56d42db752853eac79e
parent8b32900d72313fd0e5b81068103d0a853f033d2a (diff)
downloadangular.js-b6f61a89cf36a41198fecebbfb617c47217e9a64.tar.bz2
docs($compileProvider.directive): fix some typos
-rw-r--r--docs/content/api/angular.module.ng.$compileProvider.directive.ngdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/api/angular.module.ng.$compileProvider.directive.ngdoc b/docs/content/api/angular.module.ng.$compileProvider.directive.ngdoc
index 5a258179..aa60654d 100644
--- a/docs/content/api/angular.module.ng.$compileProvider.directive.ngdoc
+++ b/docs/content/api/angular.module.ng.$compileProvider.directive.ngdoc
@@ -363,11 +363,11 @@ Specifically listener registration as not allowed inside the compile function.
function link(scope, iElement, iAttrs) { ... }
</pre>
-Compile function is responsible for registering DOM listeners as well as updating the DOM. It is
+Link function is responsible for registering DOM listeners as well as updating the DOM. It is
executed after the template has been cloned. This is where most of the directive logic will be
put.
- * `scope` - {@link angular.module.ng.$rootScope.Scope Scope} - The scope to be used be the
+ * `scope` - {@link angular.module.ng.$rootScope.Scope Scope} - The scope to be used by the
directive for registering {@link angular.module.ng.$rootScope.Scope#.watch watches}.
* `iElement` - instance element - The element where the directive is to be used. It is safe to