slush-angular-component

A slush generator that generates an Angular 1x component which consists of a:

Usage no npm install needed!

<script type="module">
  import slushAngularComponent from 'https://cdn.skypack.dev/slush-angular-component';
</script>

README

slush-angular-component

A slush generator that generates an Angular 1x component which consists of a:

  • Directive
  • Controller (with unit-tests)
  • Service (with unit-tests)
  • Template

Usage

Install:

npm install -g slush-angular-component

Create a new folder for your project:

$ mkdir my-slush-angular-component

Run the generator from within the new folder:

$ cd my-slush-angular-component && slush angular-component