jixiu.campaignapis.angular2
v0.0.3
Published
```typescript // app.module.ts import { IdentityServerClient } from 'jixiu.identityserver'; @NgModule({ providers: [ IdentityServerClient ], }) export class AppModule { }
Downloads
3
Readme
In your angular project:
// app.module.ts
import { IdentityServerClient } from 'jixiu.identityserver';
@NgModule({
providers: [ IdentityServerClient ],
})
export class AppModule { }
// demo.ts
import { Component, OnInit } from '@angular/core';
import { IdentityServerClient } from 'jixiu.identityserver';
@Component({
selector: 'demo',
})
export class DemoComponent implements OnInit {
constructor(private client:IdentityServerClient) { }
ngOnInit() {
//this.client.{apis}
}
}