Skip to content

I think the course is missing explanation on the #variable in templates #148

New issue

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

Closed
boynet opened this issue Feb 1, 2021 · 1 comment
Closed

Comments

@boynet
Copy link

boynet commented Feb 1, 2021

I finished this course and followed to the next one, and suddenly there is #variables in the templates everywhere and I didnt know about it.

anyway really good course thanks a lot

@DeborahK
Copy link
Owner

DeborahK commented Feb 1, 2021

Thank you for the feedback!

The #variable is called a template reference variable. It is used primarily for forms. You can see more about it here: https://angular.io/guide/template-reference-variables

Because of the scope of this course and the amount of information required to adequately cover forms, we decided to not include Angular forms in this course. Angular forms are instead covered in the "Angular Forms" course (which I assume is the one you are watching?) and the "Angular Reactive Forms" course.

Since they are used in the "Angular Forms" course, consider also posting a suggestion for the "Angular Forms" course to provide more information on template reference variables.

Thanks again.

@DeborahK DeborahK closed this as completed Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants