Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit b6f61a8

Browse files
committed
docs($compileProvider.directive): fix some typos
1 parent 8b32900 commit b6f61a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/content/api/angular.module.ng.$compileProvider.directive.ngdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -363,11 +363,11 @@ Specifically listener registration as not allowed inside the compile function.
363363
function link(scope, iElement, iAttrs) { ... }
364364
</pre>
365365

366-
Compile function is responsible for registering DOM listeners as well as updating the DOM. It is
366+
Link function is responsible for registering DOM listeners as well as updating the DOM. It is
367367
executed after the template has been cloned. This is where most of the directive logic will be
368368
put.
369369

370-
* `scope` - {@link angular.module.ng.$rootScope.Scope Scope} - The scope to be used be the
370+
* `scope` - {@link angular.module.ng.$rootScope.Scope Scope} - The scope to be used by the
371371
directive for registering {@link angular.module.ng.$rootScope.Scope#.watch watches}.
372372

373373
* `iElement` - instance element - The element where the directive is to be used. It is safe to

0 commit comments

Comments
 (0)