create service for root module command i angular 6 code example Example: ng g ng g directive <name> [options]