aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/directive
diff options
context:
space:
mode:
Diffstat (limited to 'src/ng/directive')
-rw-r--r--src/ng/directive/booleanAttrs.js14
-rw-r--r--src/ng/directive/form.js20
-rw-r--r--src/ng/directive/input.js62
-rw-r--r--src/ng/directive/ngBind.js12
-rw-r--r--src/ng/directive/ngClass.js14
-rw-r--r--src/ng/directive/ngCloak.js2
-rw-r--r--src/ng/directive/ngController.js4
-rw-r--r--src/ng/directive/ngCsp.js4
-rw-r--r--src/ng/directive/ngEventDirs.js32
-rw-r--r--src/ng/directive/ngInclude.js8
-rw-r--r--src/ng/directive/ngInit.js2
-rw-r--r--src/ng/directive/ngNonBindable.js2
-rw-r--r--src/ng/directive/ngPluralize.js2
-rw-r--r--src/ng/directive/ngRepeat.js2
-rw-r--r--src/ng/directive/ngShowHide.js4
-rw-r--r--src/ng/directive/ngStyle.js2
-rw-r--r--src/ng/directive/ngSwitch.js2
-rw-r--r--src/ng/directive/ngTransclude.js2
-rw-r--r--src/ng/directive/ngView.js8
-rw-r--r--src/ng/directive/script.js2
-rw-r--r--src/ng/directive/select.js4
21 files changed, 102 insertions, 102 deletions
diff --git a/src/ng/directive/booleanAttrs.js b/src/ng/directive/booleanAttrs.js
index b0c1b78f..cce10a3b 100644
--- a/src/ng/directive/booleanAttrs.js
+++ b/src/ng/directive/booleanAttrs.js
@@ -2,7 +2,7 @@
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngHref
+ * @name ng.directive:ngHref
* @restrict A
*
* @description
@@ -82,7 +82,7 @@
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngSrc
+ * @name ng.directive:ngSrc
* @restrict A
*
* @description
@@ -107,7 +107,7 @@
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngDisabled
+ * @name ng.directive:ngDisabled
* @restrict A
*
* @description
@@ -146,7 +146,7 @@
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngChecked
+ * @name ng.directive:ngChecked
* @restrict A
*
* @description
@@ -176,7 +176,7 @@
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngMultiple
+ * @name ng.directive:ngMultiple
* @restrict A
*
* @description
@@ -212,7 +212,7 @@
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngReadonly
+ * @name ng.directive:ngReadonly
* @restrict A
*
* @description
@@ -242,7 +242,7 @@
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngSelected
+ * @name ng.directive:ngSelected
* @restrict A
*
* @description
diff --git a/src/ng/directive/form.js b/src/ng/directive/form.js
index 5f1cc1d2..cc229759 100644
--- a/src/ng/directive/form.js
+++ b/src/ng/directive/form.js
@@ -10,7 +10,7 @@ var nullFormCtrl = {
/**
* @ngdoc object
- * @name angular.module.ng.$compileProvider.directive.form.FormController
+ * @name ng.directive:form.FormController
*
* @property {boolean} $pristine True if user has not interacted with the form yet.
* @property {boolean} $dirty True if user has already interacted with the form.
@@ -27,7 +27,7 @@ var nullFormCtrl = {
* `FormController` keeps track of all its controls and nested forms as well as state of them,
* such as being valid/invalid or dirty/pristine.
*
- * Each {@link angular.module.ng.$compileProvider.directive.form form} directive creates an instance
+ * Each {@link ng.directive:form form} directive creates an instance
* of `FormController`.
*
*/
@@ -124,11 +124,11 @@ function FormController(element, attrs) {
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngForm
+ * @name ng.directive:ngForm
* @restrict EAC
*
* @description
- * Nestable alias of {@link angular.module.ng.$compileProvider.directive.form `form`} directive. HTML
+ * Nestable alias of {@link ng.directive:form `form`} directive. HTML
* does not allow nesting of form elements. It is useful to nest forms, for example if the validity of a
* sub-group of controls needs to be determined.
*
@@ -139,21 +139,21 @@ function FormController(element, attrs) {
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.form
+ * @name ng.directive:form
* @restrict E
*
* @description
* Directive that instantiates
- * {@link angular.module.ng.$compileProvider.directive.form.FormController FormController}.
+ * {@link ng.directive:form.FormController FormController}.
*
* If `name` attribute is specified, the form controller is published onto the current scope under
* this name.
*
- * # Alias: {@link angular.module.ng.$compileProvider.directive.ngForm `ngForm`}
+ * # Alias: {@link ng.directive:ngForm `ngForm`}
*
* In angular forms can be nested. This means that the outer form is valid when all of the child
* forms are valid as well. However browsers do not allow nesting of `<form>` elements, for this
- * reason angular provides {@link angular.module.ng.$compileProvider.directive.ngForm `ngForm`} alias
+ * reason angular provides {@link ng.directive:ngForm `ngForm`} alias
* which behaves identical to `<form>` but allows form nesting.
*
*
@@ -177,8 +177,8 @@ function FormController(element, attrs) {
* You can use one of the following two ways to specify what javascript method should be called when
* a form is submitted:
*
- * - {@link angular.module.ng.$compileProvider.directive.ngSubmit ngSubmit} directive on the form element
- * - {@link angular.module.ng.$compileProvider.directive.ngClick ngClick} directive on the first
+ * - {@link ng.directive:ngSubmit ngSubmit} directive on the form element
+ * - {@link ng.directive:ngClick ngClick} directive on the first
* button or input field of type submit (input[type=submit])
*
* To prevent double execution of the handler, use only one of ngSubmit or ngClick directives. This
diff --git a/src/ng/directive/input.js b/src/ng/directive/input.js
index 04af4c2a..40b29b23 100644
--- a/src/ng/directive/input.js
+++ b/src/ng/directive/input.js
@@ -8,7 +8,7 @@ var inputType = {
/**
* @ngdoc inputType
- * @name angular.module.ng.$compileProvider.directive.input.text
+ * @name ng.directive:input.text
*
* @description
* Standard HTML text input with angular data binding.
@@ -74,7 +74,7 @@ var inputType = {
/**
* @ngdoc inputType
- * @name angular.module.ng.$compileProvider.directive.input.number
+ * @name ng.directive:input.number
*
* @description
* Text input with number validation and transformation. Sets the `number` validation
@@ -142,7 +142,7 @@ var inputType = {
/**
* @ngdoc inputType
- * @name angular.module.ng.$compileProvider.directive.input.url
+ * @name ng.directive:input.url
*
* @description
* Text input with URL validation. Sets the `url` validation error key if the content is not a
@@ -207,7 +207,7 @@ var inputType = {
/**
* @ngdoc inputType
- * @name angular.module.ng.$compileProvider.directive.input.email
+ * @name ng.directive:input.email
*
* @description
* Text input with email validation. Sets the `email` validation error key if not a valid email
@@ -270,7 +270,7 @@ var inputType = {
/**
* @ngdoc inputType
- * @name angular.module.ng.$compileProvider.directive.input.radio
+ * @name ng.directive:input.radio
*
* @description
* HTML radio button.
@@ -311,7 +311,7 @@ var inputType = {
/**
* @ngdoc inputType
- * @name angular.module.ng.$compileProvider.directive.input.checkbox
+ * @name ng.directive:input.checkbox
*
* @description
* HTML checkbox.
@@ -627,13 +627,13 @@ function checkboxInputType(scope, element, attr, ctrl) {
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.textarea
+ * @name ng.directive:textarea
* @restrict E
*
* @description
* HTML textarea element control with angular data-binding. The data-binding and validation
* properties of this element are exactly the same as those of the
- * {@link angular.module.ng.$compileProvider.directive.input input element}.
+ * {@link ng.directive:input input element}.
*
* @param {string} ngModel Assignable angular expression to data-bind to.
* @param {string=} name Property name of the form under which the control is published.
@@ -652,7 +652,7 @@ function checkboxInputType(scope, element, attr, ctrl) {
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.input
+ * @name ng.directive:input
* @restrict E
*
* @description
@@ -764,7 +764,7 @@ var VALID_CLASS = 'ng-valid',
/**
* @ngdoc object
- * @name angular.module.ng.$compileProvider.directive.ngModel.NgModelController
+ * @name ng.directive:ngModel.NgModelController
*
* @property {string} $viewValue Actual string value in the view.
* @property {*} $modelValue The value in the model, that the control is bound to.
@@ -880,8 +880,8 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$
/**
* @ngdoc function
- * @name angular.module.ng.$compileProvider.directive.ngModel.NgModelController#$render
- * @methodOf angular.module.ng.$compileProvider.directive.ngModel.NgModelController
+ * @name ng.directive:ngModel.NgModelController#$render
+ * @methodOf ng.directive:ngModel.NgModelController
*
* @description
* Called when the view needs to be updated. It is expected that the user of the ng-model
@@ -908,8 +908,8 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$
/**
* @ngdoc function
- * @name angular.module.ng.$compileProvider.directive.ngModel.NgModelController#$setValidity
- * @methodOf angular.module.ng.$compileProvider.directive.ngModel.NgModelController
+ * @name ng.directive:ngModel.NgModelController#$setValidity
+ * @methodOf ng.directive:ngModel.NgModelController
*
* @description
* Change the validity state, and notifies the form when the control changes validity. (i.e. it
@@ -950,15 +950,15 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$
/**
* @ngdoc function
- * @name angular.module.ng.$compileProvider.directive.ngModel.NgModelController#$setViewValue
- * @methodOf angular.module.ng.$compileProvider.directive.ngModel.NgModelController
+ * @name ng.directive:ngModel.NgModelController#$setViewValue
+ * @methodOf ng.directive:ngModel.NgModelController
*
* @description
* Read a value from view.
*
* This method should be called from within a DOM event handler.
- * For example {@link angular.module.ng.$compileProvider.directive.input input} or
- * {@link angular.module.ng.$compileProvider.directive.select select} directives call it.
+ * For example {@link ng.directive:input input} or
+ * {@link ng.directive:select select} directives call it.
*
* It internally calls all `formatters` and if resulted value is valid, updates the model and
* calls all registered change listeners.
@@ -1018,7 +1018,7 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngModel
+ * @name ng.directive:ngModel
*
* @element input
*
@@ -1033,19 +1033,19 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$
* - providing validation behavior (i.e. required, number, email, url),
* - keeping state of the control (valid/invalid, dirty/pristine, validation errors),
* - setting related css class onto the element (`ng-valid`, `ng-invalid`, `ng-dirty`, `ng-pristine`),
- * - register the control with parent {@link angular.module.ng.$compileProvider.directive.form form}.
+ * - register the control with parent {@link ng.directive:form form}.
*
* For basic examples, how to use `ngModel`, see:
*
- * - {@link angular.module.ng.$compileProvider.directive.input input}
- * - {@link angular.module.ng.$compileProvider.directive.input.text text}
- * - {@link angular.module.ng.$compileProvider.directive.input.checkbox checkbox}
- * - {@link angular.module.ng.$compileProvider.directive.input.radio radio}
- * - {@link angular.module.ng.$compileProvider.directive.input.number number}
- * - {@link angular.module.ng.$compileProvider.directive.input.email email}
- * - {@link angular.module.ng.$compileProvider.directive.input.url url}
- * - {@link angular.module.ng.$compileProvider.directive.select select}
- * - {@link angular.module.ng.$compileProvider.directive.textarea textarea}
+ * - {@link ng.directive:input input}
+ * - {@link ng.directive:input.text text}
+ * - {@link ng.directive:input.checkbox checkbox}
+ * - {@link ng.directive:input.radio radio}
+ * - {@link ng.directive:input.number number}
+ * - {@link ng.directive:input.email email}
+ * - {@link ng.directive:input.url url}
+ * - {@link ng.directive:select select}
+ * - {@link ng.directive:textarea textarea}
*
*/
var ngModelDirective = function() {
@@ -1070,7 +1070,7 @@ var ngModelDirective = function() {
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngChange
+ * @name ng.directive:ngChange
* @restrict E
*
* @description
@@ -1156,7 +1156,7 @@ var requiredDirective = function() {
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngList
+ * @name ng.directive:ngList
*
* @description
* Text input that converts between comma-seperated string into an array of strings.
diff --git a/src/ng/directive/ngBind.js b/src/ng/directive/ngBind.js
index f6ae6324..70f25370 100644
--- a/src/ng/directive/ngBind.js
+++ b/src/ng/directive/ngBind.js
@@ -2,7 +2,7 @@
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngBind
+ * @name ng.directive:ngBind
*
* @description
* The `ngBind` attribute tells Angular to replace the text content of the specified HTML element
@@ -18,7 +18,7 @@
* bindings invisible to the user while the page is loading.
*
* An alternative solution to this problem would be using the
- * {@link angular.module.ng.$compileProvider.directive.ngCloak ngCloak} directive.
+ * {@link ng.directive:ngCloak ngCloak} directive.
*
*
* @element ANY
@@ -57,7 +57,7 @@ var ngBindDirective = ngDirective(function(scope, element, attr) {
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngBindTemplate
+ * @name ng.directive:ngBindTemplate
*
* @description
* The `ngBindTemplate` directive specifies that the element
@@ -116,15 +116,15 @@ var ngBindTemplateDirective = ['$interpolate', function($interpolate) {
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngBindHtmlUnsafe
+ * @name ng.directive:ngBindHtmlUnsafe
*
* @description
* Creates a binding that will innerHTML the result of evaluating the `expression` into the current
* element. *The innerHTML-ed content will not be sanitized!* You should use this directive only if
- * {@link angular.module.ngSanitize.directive.ngBindHtml ngBindHtml} directive is too
+ * {@link ngSanitize.directive:ngBindHtml ngBindHtml} directive is too
* restrictive and when you absolutely trust the source of the content you are binding to.
*
- * See {@link angular.module.ngSanitize.$sanitize $sanitize} docs for examples.
+ * See {@link ngSanitize.$sanitize $sanitize} docs for examples.
*
* @element ANY
* @param {expression} ngBindHtmlUnsafe {@link guide/expression Expression} to evaluate.
diff --git a/src/ng/directive/ngClass.js b/src/ng/directive/ngClass.js
index 9beed351..e054d4c6 100644
--- a/src/ng/directive/ngClass.js
+++ b/src/ng/directive/ngClass.js
@@ -19,7 +19,7 @@ function classDirective(name, selector) {
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngClass
+ * @name ng.directive:ngClass
*
* @description
* The `ngClass` allows you to set CSS class on HTML element dynamically by databinding an
@@ -70,15 +70,15 @@ var ngClassDirective = classDirective('', true);
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngClassOdd
+ * @name ng.directive:ngClassOdd
*
* @description
* The `ngClassOdd` and `ngClassEven` directives work exactly as
- * {@link angular.module.ng.$compileProvider.directive.ngClass ngClass}, except it works in
+ * {@link ng.directive:ngClass ngClass}, except it works in
* conjunction with `ngRepeat` and takes affect only on odd (even) rows.
*
* This directive can be applied only within a scope of an
- * {@link angular.module.ng.$compileProvider.directive.ngRepeat ngRepeat}.
+ * {@link ng.directive:ngRepeat ngRepeat}.
*
* @element ANY
* @param {expression} ngClassOdd {@link guide/expression Expression} to eval. The result
@@ -117,15 +117,15 @@ var ngClassOddDirective = classDirective('Odd', 0);
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngClassEven
+ * @name ng.directive:ngClassEven
*
* @description
* The `ngClassOdd` and `ngClassEven` works exactly as
- * {@link angular.module.ng.$compileProvider.directive.ngClass ngClass}, except it works in
+ * {@link ng.directive:ngClass ngClass}, except it works in
* conjunction with `ngRepeat` and takes affect only on odd (even) rows.
*
* This directive can be applied only within a scope of an
- * {@link angular.module.ng.$compileProvider.directive.ngRepeat ngRepeat}.
+ * {@link ng.directive:ngRepeat ngRepeat}.
*
* @element ANY
* @param {expression} ngClassEven {@link guide/expression Expression} to eval. The
diff --git a/src/ng/directive/ngCloak.js b/src/ng/directive/ngCloak.js
index b548193b..baa7afa8 100644
--- a/src/ng/directive/ngCloak.js
+++ b/src/ng/directive/ngCloak.js
@@ -2,7 +2,7 @@
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngCloak
+ * @name ng.directive:ngCloak
*
* @description
* The `ngCloak` directive is used to prevent the Angular html template from being briefly
diff --git a/src/ng/directive/ngController.js b/src/ng/directive/ngController.js
index 7b7ab06c..b6619d31 100644
--- a/src/ng/directive/ngController.js
+++ b/src/ng/directive/ngController.js
@@ -2,7 +2,7 @@
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngController
+ * @name ng.directive:ngController
*
* @description
* The `ngController` directive assigns behavior to a scope. This is a key aspect of how angular
@@ -15,7 +15,7 @@
* * Controller — The `ngController` directive specifies a Controller class; the class has
* methods that typically express the business logic behind the application.
*
- * Note that an alternative way to define controllers is via the `{@link angular.module.ng.$route}`
+ * Note that an alternative way to define controllers is via the `{@link ng.$route}`
* service.
*
* @element ANY
diff --git a/src/ng/directive/ngCsp.js b/src/ng/directive/ngCsp.js
index 55fe8b3a..16b1a0e3 100644
--- a/src/ng/directive/ngCsp.js
+++ b/src/ng/directive/ngCsp.js
@@ -2,13 +2,13 @@
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngCsp
+ * @name ng.directive:ngCsp
* @priority 1000
*
* @description
* Enables [CSP (Content Security Policy)](https://developer.mozilla.org/en/Security/CSP) support.
* This directive should be used on the root element of the application (typically the `<html>`
- * element or other element with the {@link angular.module.ng.$compileProvider.directive.ngApp ngApp}
+ * element or other element with the {@link ng.directive:ngApp ngApp}
* directive).
*
* If enabled the performance of template expression evaluator will suffer slightly, so don't enable
diff --git a/src/ng/directive/ngEventDirs.js b/src/ng/directive/ngEventDirs.js
index 16635e07..4d079718 100644
--- a/src/ng/directive/ngEventDirs.js
+++ b/src/ng/directive/ngEventDirs.js
@@ -2,7 +2,7 @@
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngClick
+ * @name ng.directive:ngClick
*
* @description
* The ngClick allows you to specify custom behavior when
@@ -55,7 +55,7 @@ forEach(
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngDblclick
+ * @name ng.directive:ngDblclick
*
* @description
* The `ngDblclick` directive allows you to specify custom behavior on dblclick event.
@@ -65,13 +65,13 @@ forEach(
* dblclick. (Event object is available as `$event`)
*
* @example
- * See {@link angular.module.ng.$compileProvider.directive.ngClick ngClick}
+ * See {@link ng.directive:ngClick ngClick}
*/
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngMousedown
+ * @name ng.directive:ngMousedown
*
* @description
* The ngMousedown directive allows you to specify custom behavior on mousedown event.
@@ -81,13 +81,13 @@ forEach(
* mousedown. (Event object is available as `$event`)
*
* @example
- * See {@link angular.module.ng.$compileProvider.directive.ngClick ngClick}
+ * See {@link ng.directive:ngClick ngClick}
*/
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngMouseup
+ * @name ng.directive:ngMouseup
*
* @description
* Specify custom behavior on mouseup event.
@@ -97,12 +97,12 @@ forEach(
* mouseup. (Event object is available as `$event`)
*
* @example
- * See {@link angular.module.ng.$compileProvider.directive.ngClick ngClick}
+ * See {@link ng.directive:ngClick ngClick}
*/
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngMouseover
+ * @name ng.directive:ngMouseover
*
* @description
* Specify custom behavior on mouseover event.
@@ -112,13 +112,13 @@ forEach(
* mouseover. (Event object is available as `$event`)
*
* @example
- * See {@link angular.module.ng.$compileProvider.directive.ngClick ngClick}
+ * See {@link ng.directive:ngClick ngClick}
*/
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngMouseenter
+ * @name ng.directive:ngMouseenter
*
* @description
* Specify custom behavior on mouseenter event.
@@ -128,13 +128,13 @@ forEach(
* mouseenter. (Event object is available as `$event`)
*
* @example
- * See {@link angular.module.ng.$compileProvider.directive.ngClick ngClick}
+ * See {@link ng.directive:ngClick ngClick}
*/
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngMouseleave
+ * @name ng.directive:ngMouseleave
*
* @description
* Specify custom behavior on mouseleave event.
@@ -144,13 +144,13 @@ forEach(
* mouseleave. (Event object is available as `$event`)
*
* @example
- * See {@link angular.module.ng.$compileProvider.directive.ngClick ngClick}
+ * See {@link ng.directive:ngClick ngClick}
*/
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngMousemove
+ * @name ng.directive:ngMousemove
*
* @description
* Specify custom behavior on mousemove event.
@@ -160,13 +160,13 @@ forEach(
* mousemove. (Event object is available as `$event`)
*
* @example
- * See {@link angular.module.ng.$compileProvider.directive.ngClick ngClick}
+ * See {@link ng.directive:ngClick ngClick}
*/
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngSubmit
+ * @name ng.directive:ngSubmit
*
* @description
* Enables binding angular expressions to onsubmit events.
diff --git a/src/ng/directive/ngInclude.js b/src/ng/directive/ngInclude.js
index 6d89e847..26107206 100644
--- a/src/ng/directive/ngInclude.js
+++ b/src/ng/directive/ngInclude.js
@@ -2,7 +2,7 @@
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngInclude
+ * @name ng.directive:ngInclude
* @restrict ECA
*
* @description
@@ -18,7 +18,7 @@
* make sure you wrap it in quotes, e.g. `src="'myPartialTemplate.html'"`.
* @param {string=} onload Expression to evaluate when a new partial is loaded.
*
- * @param {string=} autoscroll Whether `ngInclude` should call {@link angular.module.ng.$anchorScroll
+ * @param {string=} autoscroll Whether `ngInclude` should call {@link ng.$anchorScroll
* $anchorScroll} to scroll the viewport after the content is loaded.
*
* - If the attribute is not set, disable scrolling.
@@ -72,8 +72,8 @@
/**
* @ngdoc event
- * @name angular.module.ng.$compileProvider.directive.ngInclude#$includeContentLoaded
- * @eventOf angular.module.ng.$compileProvider.directive.ngInclude
+ * @name ng.directive:ngInclude#$includeContentLoaded
+ * @eventOf ng.directive:ngInclude
* @eventType emit on the current ngInclude scope
* @description
* Emitted every time the ngInclude content is reloaded.
diff --git a/src/ng/directive/ngInit.js b/src/ng/directive/ngInit.js
index 73354765..d157f396 100644
--- a/src/ng/directive/ngInit.js
+++ b/src/ng/directive/ngInit.js
@@ -2,7 +2,7 @@
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngInit
+ * @name ng.directive:ngInit
*
* @description
* The `ngInit` directive specifies initialization tasks to be executed
diff --git a/src/ng/directive/ngNonBindable.js b/src/ng/directive/ngNonBindable.js
index 6165c6f6..6622677a 100644
--- a/src/ng/directive/ngNonBindable.js
+++ b/src/ng/directive/ngNonBindable.js
@@ -2,7 +2,7 @@
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngNonBindable
+ * @name ng.directive:ngNonBindable
* @priority 1000
*
* @description
diff --git a/src/ng/directive/ngPluralize.js b/src/ng/directive/ngPluralize.js
index bf45645f..a3424cf5 100644
--- a/src/ng/directive/ngPluralize.js
+++ b/src/ng/directive/ngPluralize.js
@@ -2,7 +2,7 @@
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngPluralize
+ * @name ng.directive:ngPluralize
* @restrict EA
*
* @description
diff --git a/src/ng/directive/ngRepeat.js b/src/ng/directive/ngRepeat.js
index d5d3a64c..6dd74ef5 100644
--- a/src/ng/directive/ngRepeat.js
+++ b/src/ng/directive/ngRepeat.js
@@ -2,7 +2,7 @@
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngRepeat
+ * @name ng.directive:ngRepeat
*
* @description
* The `ngRepeat` directive instantiates a template once per item from a collection. Each template
diff --git a/src/ng/directive/ngShowHide.js b/src/ng/directive/ngShowHide.js
index 56197b21..e381c1b7 100644
--- a/src/ng/directive/ngShowHide.js
+++ b/src/ng/directive/ngShowHide.js
@@ -2,7 +2,7 @@
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngShow
+ * @name ng.directive:ngShow
*
* @description
* The `ngShow` and `ngHide` directives show or hide a portion of the DOM tree (HTML)
@@ -42,7 +42,7 @@ var ngShowDirective = ngDirective(function(scope, element, attr){
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngHide
+ * @name ng.directive:ngHide
*
* @description
* The `ngHide` and `ngShow` directives hide or show a portion
diff --git a/src/ng/directive/ngStyle.js b/src/ng/directive/ngStyle.js
index 08b99ac4..5b0a3728 100644
--- a/src/ng/directive/ngStyle.js
+++ b/src/ng/directive/ngStyle.js
@@ -2,7 +2,7 @@
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngStyle
+ * @name ng.directive:ngStyle
*
* @description
* The `ngStyle` directive allows you to set CSS style on an HTML element conditionally.
diff --git a/src/ng/directive/ngSwitch.js b/src/ng/directive/ngSwitch.js
index 52b501a6..7d4cc192 100644
--- a/src/ng/directive/ngSwitch.js
+++ b/src/ng/directive/ngSwitch.js
@@ -2,7 +2,7 @@
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngSwitch
+ * @name ng.directive:ngSwitch
* @restrict EA
*
* @description
diff --git a/src/ng/directive/ngTransclude.js b/src/ng/directive/ngTransclude.js
index aab61640..bf09b9c1 100644
--- a/src/ng/directive/ngTransclude.js
+++ b/src/ng/directive/ngTransclude.js
@@ -2,7 +2,7 @@
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngTransclude
+ * @name ng.directive:ngTransclude
*
* @description
* Insert the transcluded DOM here.
diff --git a/src/ng/directive/ngView.js b/src/ng/directive/ngView.js
index 28646822..6bfbb279 100644
--- a/src/ng/directive/ngView.js
+++ b/src/ng/directive/ngView.js
@@ -2,12 +2,12 @@
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.ngView
+ * @name ng.directive:ngView
* @restrict ECA
*
* @description
* # Overview
- * `ngView` is a directive that complements the {@link angular.module.ng.$route $route} service by
+ * `ngView` is a directive that complements the {@link ng.$route $route} service by
* including the rendered template of the current route into the main layout (`index.html`) file.
* Every time the current route changes, the included view changes with it according to the
* configuration of the `$route` service.
@@ -98,8 +98,8 @@
/**
* @ngdoc event
- * @name angular.module.ng.$compileProvider.directive.ngView#$viewContentLoaded
- * @eventOf angular.module.ng.$compileProvider.directive.ngView
+ * @name ng.directive:ngView#$viewContentLoaded
+ * @eventOf ng.directive:ngView
* @eventType emit on the current ngView scope
* @description
* Emitted every time the ngView content is reloaded.
diff --git a/src/ng/directive/script.js b/src/ng/directive/script.js
index 79f8b26e..16bd7d15 100644
--- a/src/ng/directive/script.js
+++ b/src/ng/directive/script.js
@@ -2,7 +2,7 @@
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.script
+ * @name ng.directive:script
*
* @description
* Load content of a script tag, with type `text/ng-template`, into `$templateCache`, so that the
diff --git a/src/ng/directive/select.js b/src/ng/directive/select.js
index b269973f..27a92c48 100644
--- a/src/ng/directive/select.js
+++ b/src/ng/directive/select.js
@@ -2,7 +2,7 @@
/**
* @ngdoc directive
- * @name angular.module.ng.$compileProvider.directive.select
+ * @name ng.directive:select
* @restrict E
*
* @description
@@ -23,7 +23,7 @@
* option. See example below for demonstration.
*
* Note: `ngOptions` provides iterator facility for `<option>` element which should be used instead
- * of {@link angular.module.ng.$compileProvider.directive.ngRepeat ngRepeat} when you want the
+ * of {@link ng.directive:ngRepeat ngRepeat} when you want the
* `select` model to be bound to a non-string value. This is because an option element can currently
* be bound to string values only.
*