-
Notifications
You must be signed in to change notification settings - Fork 25.6k
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
Expose application tokens via ngProbe
for chrome extensions, ...
#7045
Labels
Comments
This is blocking batarangle |
tbosch
added
feature
Issue that requests a new feature
comp: core
effort1: hours
labels
Feb 12, 2016
tbosch
added a commit
to tbosch/angular
that referenced
this issue
Feb 18, 2016
…wser Adds `window.getAllAngularRootElements()` Adds `ng.probe.coreTokens.ApplicationRef` Adds `ng.probe.coreTokens.Ngzone` Closes angular#7045
with #7161 you can:
|
tbosch
added a commit
to tbosch/angular
that referenced
this issue
Feb 19, 2016
…wser Adds `window.getAllAngularRootElements()` Adds `ng.coreTokens.ApplicationRef` Adds `ng.coreTokens.Ngzone` Closes angular#7045
matsko
pushed a commit
to matsko/angular
that referenced
this issue
Feb 20, 2016
…wser Adds `window.getAllAngularRootElements()` Adds `ng.coreTokens.ApplicationRef` Adds `ng.coreTokens.Ngzone` Closes angular#7045
This was referenced Mar 8, 2016
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Chrome extensions don't know which module loader is being used in the application under test. They can get hold of the injector at elements via
ngProbe
andDebugNode
, but they can't access things likeApplicationRef
orNgZone
as they don't have access to their types to pass into theDebugNode.inject(<token>
.Solution: Provide all exports of
angular2/core
via a property onngProbe.ngCore
.The text was updated successfully, but these errors were encountered: