Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How I can set viewContainerRef if I'm using ngUpgrade? #1069

Closed
gios opened this issue Oct 4, 2016 · 9 comments
Closed

How I can set viewContainerRef if I'm using ngUpgrade? #1069

gios opened this issue Oct 4, 2016 · 9 comments

Comments

@gios
Copy link

gios commented Oct 4, 2016

adapter.bootstrap(document.documentElement, ["myApp"]).ready((a) => { console.log("myApp Ready!"); });
My main ngModule doesn't have bootstrap component because I loaded it through UpgradeAdapter?

@gios
Copy link
Author

gios commented Oct 5, 2016

Thanks for your quick response!

@valorkin
Copy link
Member

valorkin commented Oct 5, 2016

Please confirm that this hack is working for you, so I can update docs :)

@gios
Copy link
Author

gios commented Oct 5, 2016

const comps = this.applicationRef.components;
comps constant returns 0, and I got an error ApplicationRef instance not found

@Martin-Luft Martin-Luft reopened this Oct 5, 2016
@valorkin
Copy link
Member

valorkin commented Oct 5, 2016

Not fun, do you have a repo so I can reproduce it?

@gios
Copy link
Author

gios commented Oct 5, 2016

I have a private repository not in github, unfortunately I can't give you access to it.

@gios
Copy link
Author

gios commented Oct 6, 2016

What is the progress with this issue?

@valorkin
Copy link
Member

valorkin commented Oct 6, 2016

I need a sample to reproduce and debug locally

@valorkin
Copy link
Member

valorkin commented Oct 7, 2016

Same issue as #1056
I join discussion there
Closing this one

@valorkin valorkin closed this as completed Oct 7, 2016
@gios
Copy link
Author

gios commented Oct 7, 2016

I answered this question here #1056

jtomaszewski pushed a commit to jtomaszewski/ng2-bootstrap that referenced this issue Oct 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants