From b6f61a89cf36a41198fecebbfb617c47217e9a64 Mon Sep 17 00:00:00 2001 From: Vojta Jina Date: Thu, 26 Jan 2012 09:13:08 -0800 Subject: docs($compileProvider.directive): fix some typos --- docs/content/api/angular.module.ng.$compileProvider.directive.ngdoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/content/api') 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) { ... } -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 -- cgit v1.2.3