I am working on a project build on Angular 2. I am going through it's source code. I came across the following piece of code:
let _ng = (<any>window).ng;
(<any>window).ng.probe = _ng.probe;
(<any>window).ng.coreTokens = _ng.coreTokens;
I don't know what are ng
, ng.probe
and ng.coreTokens
and for what purpose they are being used in angular 2. Can anyone please shed some lights on these? I googled these terms as well, but couldn't find any helpful elaboration. I am new to the world of Angular 2. Thanks