all files / src/ pakkk-inheritanceexample-api.module.ts

100% Statements 10/10
100% Branches 0/0
100% Functions 3/3
100% Lines 8/8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 231× 1× 1× 1×                 1×   1× 3×             1×
import {CommonModule} from '@angular/common' ;
import {HttpClientModule} from '@angular/common/http' ;
import {NgModule, ModuleWithProviders} from '@angular/core' ;
import {PakkkInheritanceexampleApiService} from './rest/pakkk-inheritanceexample-api.service' ;
 
@NgModule({
  imports: [ 
            CommonModule,
        	HttpClientModule 
           ]
})
 
export class PakkkInheritanceexampleApiModule
{
	static forRoot(): ModuleWithProviders {
        return {
            ngModule: PakkkInheritanceexampleApiModule,
            providers: [
                PakkkInheritanceexampleApiService
            ]
        } ;
    }
}