platformBrowserDynamic()
.bootstrapModule(LoyaltyModule)
.then(module => enableDebugTools(module.injector.get(ApplicationRef).components[0]))
.catch(err => console.error(err));
then we run below command in chrome dev tools:
ng.profiler.timeChangeDetection()