mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-13 08:56:40 +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
549166740b
commit
6cd6ec62fd
@@ -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