Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 59244a7

Browse files
woodardjcaitp
authored andcommitted
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
1 parent 293cb1f commit 59244a7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

docs/content/guide/bootstrap.ngdoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ Here is an example of manually initializing Angular:
100100
}]);
101101

102102
angular.element(document).ready(function() {
103-
angular.module('myApp', []);
104103
angular.bootstrap(document, ['myApp']);
105104
});
106105
</script>

0 commit comments

Comments
 (0)