nl_tokens: @ngdoc function @name angular . bootstrap @module ng @description Use this function to manually start up angular application .
pl_tokens: function bootstrap ( element , modules , config ) { if ( ! isObject ( config ) ) config = { } ; var defaultConfig = { strictDi : false } ; config = extend ( defaultConfig , config ) ; var doBootstrap = function ( ) { element = jqLite ( element ) ; if ( element . injector ( ) ) { var tag = ( element [ 0 ] === document ) ? 'document' : startingTag ( element ) ; throw ngMinErr ( 'btstrpd' , "App Already Bootstrapped with this Element '{0}'" , tag ) ; } modules = modules || [ ] ; modules . unshift ( [ '$provide' , function ( $provide ) { $provide . value ( '$rootElement' , element ) ; } ] ) ; modules . unshift ( 'ng' ) ; var injector = createInjector ( modules , config . strictDi ) ; injector . invoke ( [ '$rootScope' , '$rootElement' , '$compile' , '$injector' , function ( scope , <mask> , compile , injector ) { scope . $apply ( function ( ) { element . data ( '$injector' , injector ) ; compile ( element ) ( scope ) ; } ) ; } ] ) ; return injector ; } ; var NG_DEFER_BOOTSTRAP = / ^NG_DEFER_BOOTSTRAP! / ; if ( window && ! NG_DEFER_BOOTSTRAP . test ( window . name ) ) { return doBootstrap ( ) ; } window . name = window . name . replace ( NG_DEFER_BOOTSTRAP , '' ) ; angular . resumeBootstrap = function ( extraModules ) { forEach ( extraModules , function ( module ) { modules . push ( module ) ; } ) ; doBootstrap ( ) ; } ; }