Creates a new component.
Source
ComponentRef create(Injector injector, [List<List> projectableNodes, String selector]) { projectableNodes ??= []; // Note: Host views don't need a declarationAppElement! AppView hostView = _viewFactory(injector, null); var hostElement = hostView.create(projectableNodes, selector); return new ComponentRefImpl(hostElement, this.componentType, this.metadata); }