Hi, I’m new to Ionic2.
When I start a new Porject, this is the basic code for app.component.ts I get.
app.component.ts
import { Component } from ‘@angular/core’;
@Component({
templateUrl: 'app.html'
})
export class MyApp {}
and this is www/index.html
<!-- Ionic's root component and where the app will load -->
<ion-app></ion-app>
<!-- (...) -->
</body>
However, if I put my own selector <root-app></root-app>
instead of <ion-app></ion-app>
?
This is what i get:
I’ve searched the Docs and other Topics for this but found no answer.
If anyone could show me where this is in the Docs, or answer me directly, i would be grateful!
Thanks