Skip to content

Commit 10eb634

Browse files
committed
Change opening to be more specific and clear.
1 parent 59c29e3 commit 10eb634

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/content/guide/module.ngdoc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@
44

55
# What is a Module?
66

7-
Most applications have a main method which instantiates, wires, and bootstraps the application.
8-
Angular apps don't have a main method. Instead modules declaratively specify how an application
9-
should be bootstrapped. There are several advantages to this approach:
7+
Traditional JavaScript embedded in HTML has a main method or similar which instantiates, wires, and bootstraps the application.
8+
Angular apps don't have a visible main method, but rather declaratively specify on the HTML DOM how an application
9+
should be bootstrapped as the DOM loads and executes. Modules are where the code associated with that markup exists.
10+
11+
There are several advantages to this approach:
1012

1113
* The process is more declarative which is easier to understand
1214
* In unit-testing there is no need to load all modules, which may aid in writing unit-tests.

0 commit comments

Comments
 (0)