I\'m starting to use angular-cli and I\'ve already read a lot to find an answer about what I want to do...no success, so I came here.
Is there a way to create a componen
ng g m modules/media
this will generate a module called media inside modules folder.
ng g c modules/media/picPick --module=modules/media/media.module.ts
the first part of the command ng g c modules/media/picPick will generate a component folder called picPick inside modules/media folder witch contain our new media module.
the second part will make our new picPick component declared in media module by importing it in the module file and appending it to declarations array of this module.