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

Reuse an angular 1 module - support for UpgradeAdapter #438

Closed
fdnhkj opened this Issue Sep 5, 2016 · 2 comments

Comments

Projects
None yet
3 participants
@fdnhkj
Copy link

fdnhkj commented Sep 5, 2016

I would like to reuse an angular 1 module (mostly services) in a NativeScript - angular 2 app.

I have read about the upgrade module and its UpgradeAdapter service in angular 2 docs.

[...] service that can bootstrap and manage hybrid applications that support both Angular 2 and Angular 1 code.

In order to use the UpgradeAdapter service, its bootstrap function should be called.

Knowing that NativeScript also requires to call a bootstrap function nativeScriptBootstrap, I am wondering if it exposes a way to use the UpgradeAdapter bootstrap instead of standard angular 2 one.

@fdnhkj fdnhkj changed the title Reuse an angular 1 module Reuse an angular 1 module - support for UpgradeAdapter Sep 6, 2016

@cusJunDev

This comment has been minimized.

Copy link

cusJunDev commented Sep 15, 2016

+1 also interested in that issue

@hdeshev

This comment has been minimized.

Copy link
Contributor

hdeshev commented Sep 21, 2016

We never intended to support Angular 1 components, and I doubt we'll allocate resources for it in the foreseeable future.

That said, there is no problem for support for the UpgradeAdapter come from a separate library developed by the community. We'll consider PR's that make it easy for such a library to do its job.

@hdeshev hdeshev closed this Sep 21, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
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.