0.0.16 • Published 9 years ago
ibis-demo v0.0.16
Quick Start
npm install ibis-demo --saveSimple Example
// app.module.ts
import {NgModule} from '@angular/core';
import {BrowserModule} from '@angular/platform-browser';
import {IbisDemoModule} from 'ibis-demo'; // <-- import the module
import {MyComponent} from './my.component';
@NgModule({
    imports: [BrowserModule, IbisDemoModule], // <-- include it in your app module
    declarations: [MyComponent],
    bootstrap: [MyComponent]
})
export class MyAppModule {}// my.component.ts
import {Component} from '@angular/core';
@Component({
    selector: 'my-component',
    template: `
    <h1>
        {{title}}
    </h1>
    <app-ibis-demo></app-ibis-demo>
    `
})
export class MyComponent {
    public title = 'Hello, my first deployed Ibis module!'; 
}