fix(NgComponent): attach method was called earlier rathe then later.

Fixing wrong fix: 88a22689b6948d6e6bc676932e5245d2256a7848