All Downloads are FREE. Search and download functionalities are using the official Maven repository.

concrete.templates.jaxrs.angular.code.v2.concrete.ftl Maven / Gradle / Ivy

There is a newer version: 0.5.3-RC1
Show newest version
/* tslint:disable */
<#macro classNameList classes><#list classes?sort as clazz>${clazz}<#if clazz_has_next>, 
import { NgModule } from '@angular/core';
import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';
import { ConcreteHeadersInterceptor, Broadcast } from './AbstractConcreteService';
<#list services?keys?sort as key>
import { <@classNameList classes=services[key]/> } from './${key}';


export * from './AbstractConcreteService';
<#list packages?sort as pack>
export * from './${pack}';



@NgModule({
    declarations: [],
    imports: [HttpClientModule],
    providers: [{
        provide: HTTP_INTERCEPTORS,
        useClass: ConcreteHeadersInterceptor,
        multi: true,
    }, Broadcast, <@classNameList classes=providers/>],
})
export class Concrete${moduleType}Module {
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy