fix(typeahead): fix SSR (universal) rendering
fix(typeahead): fix SSR (universal) rendering

It looks like we need to can't resolve component factories
in a constructor but rather need to delay resolution to the moment
when a component representing a popup is actually needed.

Fixes #2190
Fixes #2139

Closes #2224

maxokorokov/core,maxokorokov/core,ktriek/ng-bootstrap,ng-bootstrap/core,fbasso/ng-bootstrap,ng-bootstrap/core,fbasso/ng-bootstrap,jnizet/ng-bootstrap,ng-bootstrap/core,jnizet/ng-bootstrap,ng-bootstrap/ng-bootstrap,ktriek/ng-bootstrap,ng-bootstrap/ng-bootstrap,benouat/ng-bootstrap,benouat/ng-bootstrap,pkozlowski-opensource/core,ktriek/ng-bootstrap,maxokorokov/core,pkozlowski-opensource/core,benouat/ng-bootstrap,pkozlowski-opensource/core,ktriek/ng-bootstrap,maxokorokov/core,ng-bootstrap/ng-bootstrap,benouat/ng-bootstrap,jnizet/ng-bootstrap,jnizet/ng-bootstrap,fbasso/ng-bootstrap,fbasso/ng-bootstrap,ng-bootstrap/ng-bootstrap