We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
- [ x] bug report - [ ] feature request
@angular/cli: 1.3.0-rc.5 node: 7.8.0 os: win32 x64 @angular/animations: 4.3.3 @angular/common: 4.3.3 @angular/compiler: 4.3.3 @angular/core: 4.3.3 @angular/flex-layout: 2.0.0-rc.1 @angular/forms: 4.3.3 @angular/http: 4.3.3 @angular/material: 2.0.0-beta.3 @angular/platform-browser: 4.3.3 @angular/platform-browser-dynamic: 4.3.3 @angular/router: 4.3.3 @angular/cli: 1.3.0-rc.5 @angular/compiler-cli: 4.1.3
core.module
providers: [ Guards.LoggedInGuard, Services.AuthService, // more services here [{provide: ErrorHandler, useClass: GlobalErrorHandler}], ],
ng g service core/services/super --module=core.module
In result CLI sticks the SuperService in to providers array like:
SuperService
providers: [ Guards.LoggedInGuard, Services.AuthService, // more services here [{provide: ErrorHandler, useClass: GlobalErrorHandler}SuperService], ],
The ng g service core/services/super --module=core.module result should be
providers: [ Guards.LoggedInGuard, Services.AuthService, // more services here [{provide: ErrorHandler, useClass: GlobalErrorHandler}], SuperService ],
The text was updated successfully, but these errors were encountered:
Same as #7061
Sorry, something went wrong.
Closing in favor of #7061
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Bug Report
Versions.
Repro steps.
core.module
) e.g:ng g service core/services/super --module=core.module
In result CLI sticks the
SuperService
in to providers array like:Desired functionality.
The
ng g service core/services/super --module=core.module
result should beThe text was updated successfully, but these errors were encountered: