@ngdoc overview @name Developer Guide: Initializing Angular: Automatic Initialization @description Angular initializes automatically when you load the angular script into your page, specifying angular's `ng:autobind` attribute with no arguments:
Hello {{'world'}}!
As with `ng:autobind`, you can specify an element id that should be exclusively targeted for compilation as the value of the `#autobind`, for example: `#autobind=angularContent`. ## Filename Restrictions for Auto-bootstrap In order for us to find the auto-bootstrap from a script attribute or URL fragment, the value of the `script` `src` attribute that loads the angular script must match one of these naming conventions: - `angular.js` - `angular-min.js` - `angular-x.x.x.js` - `angular-x.x.x.min.js` - `angular-x.x.x-xxxxxxxx.js` (dev snapshot) - `angular-x.x.x-xxxxxxxx.min.js` (dev snapshot) - `angular-bootstrap.js` (used for development of angular) Optionally, any of the filename formats above can be prepended with a relative or absolute URL that ends with `/`. ## Global Angular Object The angular script creates a single global variable `angular` in the global namespace. All angular APIs are bound to fields of this global object. ## Related Topics * {@link dev_guide.bootstrap Initializing Angular} * {@link dev_guide.bootstrap.manual_bootstrap Manual Initialization} ## Related API {@link api/angular.compile Compiler API}