Inconsistent variable names between html and MainController.js


In the directives exercise,
I noticed that we still use; product.price etc in the expression in view.
However, in MainController.js, the variable name is plural -- products.
How can the dot notation work if the variable names are inconsistent?


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.