mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-14 12:08:27 +08:00
docs(ng:app): Move to other directives namespace
This commit is contained in:
@@ -839,7 +839,7 @@ function encodeUriQuery(val, pctEncodeSpaces) {
|
||||
|
||||
/**
|
||||
* @ngdoc directive
|
||||
* @name angular.directive.ng:app
|
||||
* @name angular.module.ng.$compileProvider.directive.ng:app
|
||||
*
|
||||
* @element ANY
|
||||
* @param {angular.Module} module on optional application
|
||||
|
||||
@@ -53,7 +53,8 @@ function setupModuleLoader(window) {
|
||||
* var injector = angular.injector(['ng', 'MyModule'])
|
||||
* </pre>
|
||||
*
|
||||
* However it's more likely that you'll just use {@link angular.directive.ng:app ng:app} or
|
||||
* However it's more likely that you'll just use
|
||||
* {@link angular.module.ng.$compileProvider.directive.ng:app ng:app} or
|
||||
* {@link angular.bootstrap} to simplify this process for you.
|
||||
*
|
||||
* @param {!string} name The name of the module to create or retrieve.
|
||||
|
||||
Reference in New Issue
Block a user