Other

There are two extra folders in src/app:

_services

It includes a simple service for loading CSS/JS files from a CDN.
It's used in some pages to insert the plugin's CSS file (for example before ace.css) or insert the Javascript file for some plugins such as google-code-prettify.

It's not part of the library and you don't need this service, but if you want you can use it like this:

ts
import { ResourceService } from '../../../_services/resource.service';

declare var basictable: any;

export class SomeComponent {
    constructor(private resourceLoader: ResourceService) { 
    }

    someMethod() {
        let path = 'https://cdn.jsdelivr.net/npm/basictable@latest/dist/js/basictable.min.js'
        this.resourceLoader.addJS(path).then(() => {
            new basictable('#responsive-table', {breakpoint: 800})
        })
    }
}


_providers

There is only one provider, a CanActivate guard which is used to disable navigation when we click on a router link that is supposed to toggle submenu