function bootstrap(element, modules) {
  element = jqLite(element);
  modules = modules || [];
  modules.unshift('ng');
  var injector = createInjector(modules);
  injector.invoke(
    ['$rootScope', '$compile', '$injector', function(scope, compile, injector){
      scope.$apply(function() {
        element.data('$injector', injector);
        compile(element)(scope);
      });
    }]
  );
  return injector;
}
@ngdoc function
@name angular.bootstrap
@description
Use this function to manually start up angular application.

See: {@link guide/dev_guide.bootstrap.manual_bootstrap Bootstrap}

@param {Element} element DOM element which is the root of angular application.
@param {Array<String,function>=} modules an array of module declarations. See: {@link angular.module modules}
@param {angular.module.auta.$injector} the injector;