in Angular by
How can you differentiate between Angular expressions and JavaScript expressions?

1 Answer

0 votes
by

Angular Expressions JavaScript Expressions

1. They can contain literals, operators, and variables. 1. They can contain literals, operators, and variables.

2. They can be written inside the HTML tags. 2. They can’t be written inside the HTML tags.

3. They do not support conditionals, loops, and exceptions. 3. They do support conditionals, loops, and exceptions.

4.  They support filters. 4.  They do not support filters.

Related questions

0 votes
asked Nov 24, 2019 in Angular by rajeshsharma
0 votes
asked Oct 30, 2020 in Bootstrap by sharadyadav1986
0 votes
asked Oct 12, 2021 in Python by rajeshsharma
...