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
I think we should wait until the post link phase until we invoke the Component's controller function. This way we'll know that we can have access to the child directives/components and they'll be fully linked and ready to go. This is a prerequisite to being able to query child components with @ContentChild and @ViewChild.
The text was updated successfully, but these errors were encountered:
Another idea is to keep controller instantiation as-is, perform lookup during the link phase, and then call the controller's onInit lifecycle hook at that point. Might be a safer option and it leverages part of our Angular 2 polyfilling plans.
I think we should wait until the post link phase until we invoke the Component's controller function. This way we'll know that we can have access to the child directives/components and they'll be fully linked and ready to go. This is a prerequisite to being able to query child components with @ContentChild and @ViewChild.
The text was updated successfully, but these errors were encountered: