0.0.4 • Published 4 years ago

ng-chakans v0.0.4

Weekly downloads
6
License
Apache-2.0
Repository
github
Last release
4 years ago

Development instructions

The NgChakansModule is located in the ng-chakans and packaged into a redistributable package with the ng-packagr tool.

Usage

Loading the NgChakansModule

Import the NgChakansModule from the npm package like this:

import { NgChakansModule } from 'ng-chakans';

And add it to you application module:

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    NgChakansModule.forRoot({
      serverApiUrl: '/'
    }) // <- Important part
  ],
  providers: [],
  bootstrap: [AppComponent]
})

Using components

Using directives

Using services