It is a matter of code organization. Angular permits two-way binding of HTML elements with ECMAScript values.