Services
Every service in nge/services is providedIn: 'root', so you just inject() it.
import { inject } from '@angular/core'
import { ClipboardService } from '@cisstech/nge/services'
const clipboard = inject(ClipboardService)
await clipboard.copy('Copied to the clipboard')What is available
ClipboardServicecopies text to the clipboard:copy(text): Promise<void>.CompilerServicemounts a component dynamically:render(options): Promise<ComponentRef>andresolveComponent(type, injector). This is what the doc engine and the Markdown renderer use to render component pages.ResourceLoaderServiceloads external scripts and styles on demand, once each:loadAllSync(resources)andloadAllAsync(resources)return an observable, andwaitForPendings()resolves when in-flight loads finish. It is how contributions pull in KaTeX, emoji and other assets only when needed.PickerBrowserServiceopens the browser file picker:pickFiles(options): Promise<File[]>.InjectorServiceexposes the root injector for the rare case where you need it outside Angular's dependency injection.