how to create angular project with routing by cmd code example
Example 1: generate module with routing in angular
ng g m [ModuleName] --routing
Example 2: ng new project
content_copy
ng new angular-tour-of-heroes
ng g m [ModuleName] --routing
content_copy
ng new angular-tour-of-heroes