mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-21 10:05:34 +08:00
docs(guide/bootstrap): remove extra call to angular.module()
There was an extra call to angular.module() not being used in 'getter' mode. While this doesn't break the demo app, it does look kind of weird, so lets toss it. Closes #6969
This commit is contained in:
committed by
Caitlin Potter
parent
293cb1fc5d
commit
59244a7776
@@ -100,7 +100,6 @@ Here is an example of manually initializing Angular:
|
||||
}]);
|
||||
|
||||
angular.element(document).ready(function() {
|
||||
angular.module('myApp', []);
|
||||
angular.bootstrap(document, ['myApp']);
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user