ngx-tabby is a gentle angular easter egg that will leave you warm and cozy on the inside.
npm install ngx-tabby --save
Import into your app module as a provider.
// app.module
import { TabbyService } from 'ngx-tabby';
@NgModule({
providers: [
// Kittens galore
TabbyService
]
});
Initialize in your app component.
import { TabbyService } from 'ngx-tabby';
export class AppComponent {
constructor(private tabbyService: TabbyService) {
this.tabbyService.init();
}
}
This should work well out of the box with webpack.
Map ngx-tabby and declare as a package
// systemjs.config.js
map: {
"ngx-tabby": "npm:ngx-tabby",
},
packages: {
'ngx-tabby': {
main: './index.js',
defaultExtension: 'js'
}
}
Show me kittens! Press TAB + b and let the cuteness overwhelm you.