This chapter covers module systems in JavaScript and Angular. Modules are important for Angular code organization and the logical groupings of code. Modules also manage dependencies. An application has many files, classes, functions, and so forth. No code works in a silo or without integrating with other code units. A method in a class calls another method, which creates a dependency. A module system manages the dependency tree.
3. Modules
Get Angular for Material Design: Leverage Angular Material and TypeScript to Build a Rich User Interface for Web Apps now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.