Registers application-wide defaults for every CngxTreetable in the
injection scope. Composes any number of TreetableFeature
helpers via left-to-right reduction; later features can override
earlier ones if you call the same withXxx() twice (rare).
Calling with no arguments is valid and produces an empty
TreetableConfig - identical to not calling provideTreetable at
all. Per-instance [options] input always wins over whatever lands
here.
Application bootstrap:
bootstrapApplication(AppComponent, { providers: [ provideTreetable( withHighlightOnHover(), // turn hover-highlight on app-wide withCapitaliseHeaders(false), // keep raw header keys app-wide ), ],});
Per-route scope (Angular 16+ provide* works inside Route.providers):