Closed
Description
OS?
Mac OSX Sierra
Versions.
angular-cli: 1.0.0-beta.21
node: 6.9.1
os: darwin x64
Repro steps
ng new foo
cd foo
ng g s bar
Suggestion
A warning message is shown that says
WARNING Service is generated but not provided, it must be provided to be used
Perhaps we can extend this to say
WARNING Service is generated but not provided, it must be provided to be used. Consider providing it in the closest NgModule [put module name here]. Read this link for more information about where to provide services [link to docs]
Details
I think not providing the service is correct behavior for the CLI because it is not clear cut. But adding suggestions and/or a link to docs may help the user.