angular.io icon indicating copy to clipboard operation
angular.io copied to clipboard

Angular tutorial misleading

Open jeremylawcs opened this issue 9 years ago • 2 comments

Hi all, I was following this tutorial when I came across an error which I didn't understand. The good folks at StackOverflow helped me work my problem out quickly enoughh, but I believe the problem is within the wording of this line:

The quoted text assigned to ngFor means “take each hero in the heroes array, store it in the local hero variable, and make it available to the corresponding template instance”.

The problem I had was that I misunderstood that the 'hero' referred to ngFor was accessible across the entire template instance within the Component when it is only accessible within the scope of the tag. Changing the wording of this may help future beginners going through the tutorial. Cheers!

jeremylawcs avatar Oct 21 '16 06:10 jeremylawcs

I diagrammed the objects in order to understand how everything interrelates. This may not be 100% accurate, but it helped me make sense out of it. angular-process-to-postgres_01 5

jurban1997 avatar Mar 21 '17 18:03 jurban1997

And this is the next stage of development on the tutorial. angular-process-to-postgres_01 6

jurban1997 avatar Mar 21 '17 18:03 jurban1997