#using this in the HTML template

6 messages · Page 1 of 1 (latest)

oak violet
#

I am working on Angular for a long time now and on a new project the developer (old school) insisting on using this in the template, what are the best practices pros and cons? I personally find it annoying and cluttery on the HTML page.

hardy trout
#

I mean, you can, but why would you?

hardy trout
#

I have been using angular since v4 and i have never had an issue not using this in the template.

oak violet
#

I know I have never used it, because why? so my quesiton is, is there reson that I can tell them NOT to use this on every var and funciton they are passing in the template

dry tulip
oak violet
#

yeah I've been trying thank you!