GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • App
  • Route
  • Service
  • Component
  • Controller
  • Decorator
  • Endpoint
  • Filter
  • Heroku
  • Openshift

This view

  • Original page
  • New address

GeezerVison is showing angular-fullstack.github.io — Directive

Fork the RepoFind HelpStack Overflow

Directive

Edit this Page   

Directive

Generates a directive.

Example:

yo angular-fullstack:directive myDirective
[?] What module name would you like to use? myApp.myDirective
[?] Where would you like to create this directive? client/app/
[?] Does this directive need an external html file? Yes

Produces:

client/app/myDirective/myDirective.directive.js
client/app/myDirective/myDirective.directive.spec.js
client/app/myDirective/myDirective.html
client/app/myDirective/myDirective.scss

Simple directive without an html file

Example:

yo angular-fullstack:directive simple
[?] What module name would you like to use? myApp.simple
[?] Where would you like to create this directive? client/app/
[?] Does this directive need an external html file? No

Produces:

client/app/simple/simple.directive.js
client/app/simple/simple.directive.spec.js

Contributors

Get StartedOrganizationContribute
SupportChangelog
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.