December 2017
Beginner
372 pages
10h 32m
English
To be able to use the exported module and its members, we need to explicitly import them into another module. Once we import the members, we can then use them in our modules, just like the local members of the modules.
The following is the syntax of the import statement:
import {BoardService} from './Modules/service';
This import statement is added to a new file (app.ts), which is itself a module. Let's go through each part of the import statement and understand how the import module works:
Read now
Unlock full access