feat(core): add more debug APIs to inspect the application form a browser

Adds `window.getAllAngularRootElements()`
Adds `ng.coreTokens.ApplicationRef`
Adds `ng.coreTokens.Ngzone`

Closes #7045
Closes #7161
This commit is contained in:
Tobias Bosch
2016-02-18 13:51:20 -08:00
parent c9a3df970b
commit b5e6319fa9
6 changed files with 11 additions and 1 deletions

View File

@ -24,6 +24,7 @@ export interface BrowserNodeGlobal {
Zone: ZoneLikeConstructor;
getAngularTestability: Function;
getAllAngularTestabilities: Function;
getAllAngularRootElements: Function;
frameworkStabilizers: Array<Function>;
setTimeout: Function;
clearTimeout: Function;