ng2-little-kitty
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

ng2-little-kitty

Just for fun

Installation

First you need to install the npm module:

npm install ng2-little-kitty --save

If you use SystemJS to load your files, you might have to update your config with this if you don't use defaultJSExtensions: true:

System.config({
    packages: {
        "ng2-little-kitty": {"defaultExtension": "js"}
    }
});
import {HTTP_PROVIDERS} from 'angular2/http';
import {Component, Injectable} from 'angular2/core';
import {LittleKittyService} from 'ng2-little-kitty/ng2-little-kitty';
import {bootstrap} from 'angular2/platform/browser';

bootstrap(AppComponent, [
    HTTP_PROVIDERS,
    LittleKittyService // not required, but recommended to have 1 unique instance of your service
]);

Package Sidebar

Install

npm i ng2-little-kitty

Weekly Downloads

0

Version

0.3.0

License

MIT

Last publish

Collaborators

  • stanimirtt