ng generate directive Overview ng generate directive [name] generates a directive Options --flat flag to indicate if a dir is created --prefix specifies whether to use the prefix --spec specifies if a spec file is generated --skip-import allows for skipping the module import