aboutsummaryrefslogtreecommitdiffstats
path: root/src/loader.js
diff options
context:
space:
mode:
authorIgor Minar2012-06-11 23:49:24 -0700
committerIgor Minar2012-06-12 00:10:18 -0700
commitf16150d5f1b20b3d633b4402095ea89baa4be042 (patch)
tree9d5c570348264884174ecca52b958da7a821fcf8 /src/loader.js
parentfc0b2b5715655a05cbb4c8e79969c95d7e7ce8b7 (diff)
downloadangular.js-f16150d5f1b20b3d633b4402095ea89baa4be042.tar.bz2
docs(*): simplify doc urls
we now have two types of namespaces: - true namespace: angular.* - used for all global apis - virtual namespace: ng.*, ngMock.*, ... - used for all DI modules the virual namespaces have services under the second namespace level (e.g. ng.) and filters and directives prefixed with filter: and directive: respectively (e.g. ng.filter:orderBy, ng.directive:ngRepeat) this simplifies urls and makes them a lot shorter while still avoiding name collisions
Diffstat (limited to 'src/loader.js')
-rw-r--r--src/loader.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/loader.js b/src/loader.js
index e0dd8d7f..668e9a60 100644
--- a/src/loader.js
+++ b/src/loader.js
@@ -31,7 +31,7 @@ function setupModuleLoader(window) {
* # Module
*
* A module is a collocation of services, directives, filters, and configure information. Module
- * is used to configure the {@link angular.module.AUTO.$injector $injector}.
+ * is used to configure the {@link AUTO.$injector $injector}.
*
* <pre>
* // Create a new module
@@ -54,7 +54,7 @@ function setupModuleLoader(window) {
* </pre>
*
* However it's more likely that you'll just use
- * {@link angular.module.ng.$compileProvider.directive.ngApp ngApp} or
+ * {@link ng.directive:ngApp ngApp} or
* {@link angular.bootstrap} to simplify this process for you.
*
* @param {!string} name The name of the module to create or retrieve.
@@ -114,7 +114,7 @@ function setupModuleLoader(window) {
* @param {string} name service name
* @param {Function} providerType Construction function for creating new instance of the service.
* @description
- * See {@link angular.module.AUTO.$provide#provider $provide.provider()}.
+ * See {@link AUTO.$provide#provider $provide.provider()}.
*/
provider: invokeLater('$provide', 'provider'),
@@ -125,7 +125,7 @@ function setupModuleLoader(window) {
* @param {string} name service name
* @param {Function} providerFunction Function for creating new instance of the service.
* @description
- * See {@link angular.module.AUTO.$provide#factory $provide.factory()}.
+ * See {@link AUTO.$provide#factory $provide.factory()}.
*/
factory: invokeLater('$provide', 'factory'),
@@ -136,7 +136,7 @@ function setupModuleLoader(window) {
* @param {string} name service name
* @param {Function} constructor A constructor function that will be instantiated.
* @description
- * See {@link angular.module.AUTO.$provide#service $provide.service()}.
+ * See {@link AUTO.$provide#service $provide.service()}.
*/
service: invokeLater('$provide', 'service'),
@@ -147,7 +147,7 @@ function setupModuleLoader(window) {
* @param {string} name service name
* @param {*} object Service instance object.
* @description
- * See {@link angular.module.AUTO.$provide#value $provide.value()}.
+ * See {@link AUTO.$provide#value $provide.value()}.
*/
value: invokeLater('$provide', 'value'),
@@ -159,7 +159,7 @@ function setupModuleLoader(window) {
* @param {*} object Constant value.
* @description
* Because the constant are fixed, they get applied before other provide methods.
- * See {@link angular.module.AUTO.$provide#constant $provide.constant()}.
+ * See {@link AUTO.$provide#constant $provide.constant()}.
*/
constant: invokeLater('$provide', 'constant', 'unshift'),
@@ -170,7 +170,7 @@ function setupModuleLoader(window) {
* @param {string} name Filter name.
* @param {Function} filterFactory Factory function for creating new instance of filter.
* @description
- * See {@link angular.module.ng.$filterProvider#register $filterProvider.register()}.
+ * See {@link ng.$filterProvider#register $filterProvider.register()}.
*/
filter: invokeLater('$filterProvider', 'register'),
@@ -181,7 +181,7 @@ function setupModuleLoader(window) {
* @param {string} name Controller name.
* @param {Function} constructor Controller constructor function.
* @description
- * See {@link angular.module.ng.$controllerProvider#register $controllerProvider.register()}.
+ * See {@link ng.$controllerProvider#register $controllerProvider.register()}.
*/
controller: invokeLater('$controllerProvider', 'register'),
@@ -193,7 +193,7 @@ function setupModuleLoader(window) {
* @param {Function} directiveFactory Factory function for creating new instance of
* directives.
* @description
- * See {@link angular.module.ng.$compileProvider.directive $compileProvider.directive()}.
+ * See {@link ng.$compileProvider.directive $compileProvider.directive()}.
*/
directive: invokeLater('$compileProvider', 'directive'),