December 2017
Beginner
372 pages
10h 32m
English
The flat option has the same meaning as in the case of components, the only difference being that the default value is true. That was the reason, when we ran the preceding command to generate the service, that the files were generated in the parent folder rather than in a new folder.
Normally, we would not want this behavior so it's better to have the flag set to false as shown here:
ng generate service trello.service --flat false
Read now
Unlock full access