Use the Ionic CLI to Generate Angular 2 Mobile Components
In this lesson we will walk through how to break out code into it's own provider using the CLI. Ionic’s CLI provides a generate command that will quickly help create common components, pipes, providers, and much more. To see what kind of generators are available, run
ionic g --list in your terminal.