You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Feature request
[X] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
Current behavior
In the AIO docs for "Routing & Navigation" Milestone 4: Crisis center feature, step 4 mentions to import the CrisisCenterModule but no reference has been mentioned in the previous steps. This may be confusing
Expected behavior
Add a code snippet for the CrisisCenterModule
Minimal reproduction of the problem with instructions
N/A
What is the motivation / use case for changing the behavior?
Make it easier to follow the AIO docs
Environment
Angular version: 5.1.2
Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
For Tooling issues:
- Node version: XX
- Platform:
Others:
Thanks for taking a look at this. Just to add a bit more detail on the "Routing and Navigation" docs, I also saw that in Milestone 1 and Milestone 2, all components have inline templates in the examples (for src/app/app.component.ts, src/app/hero-list.component.ts etc.).
However by the time you get to Milestone 3, the plunker and zip mentioned have components using the templateUrl.
Delete the selector (routed components don't need them).
Delete the <h1>.
Relabel the <h2> to <h2>HEROES</h2>.
Delete the <hero-detail> at the bottom of the template.
Rename the AppComponent class to HeroListComponent.
This causes two issues. First the plunker and zip are inconsistent with the rest of the documentation in the "Routing & Navigation" section.
Secondly, the step "Make a few minor but necessary changes:" wouldn't make sense as there is no mention of <h1> and other elements (as the linked examples only include the templateUrl line).
Sure we can do a translation in our heads but the documentation is incorrect as it stands. Perhaps it's a regression from changing the documentation examples. Do you want me to create a new issue for this instead?
Activity
hartraft commentedon Jan 5, 2018
Thanks for taking a look at this. Just to add a bit more detail on the "Routing and Navigation" docs, I also saw that in Milestone 1 and Milestone 2, all components have inline templates in the examples (for src/app/app.component.ts, src/app/hero-list.component.ts etc.).
However by the time you get to Milestone 3, the plunker and zip mentioned have components using the templateUrl.
and
This causes two issues. First the plunker and zip are inconsistent with the rest of the documentation in the "Routing & Navigation" section.
Secondly, the step "Make a few minor but necessary changes:" wouldn't make sense as there is no mention of
<h1>and other elements (as the linked examples only include the templateUrl line).Sure we can do a translation in our heads but the documentation is incorrect as it stands. Perhaps it's a regression from changing the documentation examples. Do you want me to create a new issue for this instead?
brandonroberts commentedon Sep 26, 2018
Fixed via #20023
angular-automatic-lock-bot commentedon Sep 14, 2019
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.