an0nh4x0r an0nh4x0r - 7 months ago 28
TypeScript Question

please explain "#variable" vs "let variable" in angular 2

Code Snapshot

In the above picture when i use

#course of courses
it does not work. If i use
let course of courses
it works. Please explain this


This changed from the Beta version of Angular 2 to the RC version.

Now it's let instead of # to not mix up with template variables.