You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 4, 2017. It is now read-only.
The context for terms in an expression is a blend of the _template variables_,
162
162
the directive's _context_ object (if it has one), and the component's _members_.
163
163
If you reference a name that belongs to more than one of these namespaces,
164
-
the tempate variable name takes precedence, followed by a name in the directive's' _context_,
164
+
the template variable name takes precedence, followed by a name in the directive's' _context_,
165
165
and, lastly, the component's member names.
166
166
167
167
The previous example presents such a name collision. The component has a `hero` property and the `*ngFor` defines a `hero` template variable. The `hero` in `{{hero}}` refers to the template input variable, not the component's property.
0 commit comments