docs(ng.directives): add correct @restrict for all ng directives

This commit is contained in:
rodyhaddad 2013-09-08 17:22:54 -04:00 committed by Pete Bacon Darwin
parent 1567440665
commit d8987c170f
8 changed files with 10 additions and 1 deletions

View file

@ -3,6 +3,7 @@
/**
* @ngdoc directive
* @name ng.directive:ngBind
* @restrict AC
*
* @description
* The `ngBind` attribute tells Angular to replace the text content of the specified HTML element

View file

@ -72,6 +72,7 @@ function classDirective(name, selector) {
/**
* @ngdoc directive
* @name ng.directive:ngClass
* @restrict AC
*
* @description
* The `ngClass` allows you to set CSS classes on HTML an element, dynamically, by databinding
@ -210,6 +211,7 @@ var ngClassDirective = classDirective('', true);
/**
* @ngdoc directive
* @name ng.directive:ngClassOdd
* @restrict AC
*
* @description
* The `ngClassOdd` and `ngClassEven` directives work exactly as
@ -257,6 +259,7 @@ var ngClassOddDirective = classDirective('Odd', 0);
/**
* @ngdoc directive
* @name ng.directive:ngClassEven
* @restrict AC
*
* @description
* The `ngClassOdd` and `ngClassEven` directives work exactly as

View file

@ -3,6 +3,7 @@
/**
* @ngdoc directive
* @name ng.directive:ngCloak
* @restrict AC
*
* @description
* The `ngCloak` directive is used to prevent the Angular html template from being briefly

View file

@ -3,6 +3,7 @@
/**
* @ngdoc directive
* @name ng.directive:ngInit
* @restrict AC
*
* @description
* The `ngInit` directive specifies initialization tasks to be executed

View file

@ -3,6 +3,7 @@
/**
* @ngdoc directive
* @name ng.directive:ngNonBindable
* @restrict AC
* @priority 1000
*
* @description

View file

@ -3,6 +3,7 @@
/**
* @ngdoc directive
* @name ng.directive:ngStyle
* @restrict AC
*
* @description
* The `ngStyle` directive allows you to set CSS style on an HTML element conditionally.

View file

@ -3,6 +3,7 @@
/**
* @ngdoc directive
* @name ng.directive:ngTransclude
* @restrict AC
*
* @description
* Directive that marks the insertion point for the transcluded DOM of the nearest parent directive that uses transclusion.

View file

@ -3,12 +3,12 @@
/**
* @ngdoc directive
* @name ng.directive:script
* @restrict E
*
* @description
* Load content of a script tag, with type `text/ng-template`, into `$templateCache`, so that the
* template can be used by `ngInclude`, `ngView` or directive templates.
*
* @restrict E
* @param {'text/ng-template'} type must be set to `'text/ng-template'`
*
* @example