Skip to content
This repository has been archived by the owner on Apr 9, 2020. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
import IonicModule and bootstrap IonicApp
  • Loading branch information
Mirko Nasato committed Nov 11, 2016
1 parent e7e25a6 commit 4ff338a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
17 changes: 4 additions & 13 deletions src/app/app.module.ts
@@ -1,20 +1,11 @@
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import { IonicApp, IonicModule } from 'ionic-angular';

import { AppComponent } from './app.component';

@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
FormsModule,
HttpModule
],
providers: [],
bootstrap: [AppComponent]
imports: [ IonicModule.forRoot(AppComponent) ],
declarations: [ AppComponent ],
bootstrap: [ IonicApp ]
})
export class AppModule { }
2 changes: 1 addition & 1 deletion src/index.html
Expand Up @@ -9,6 +9,6 @@
<link rel="icon" type="image/x-icon" href="favicon.ico">
</head>
<body>
<app-root>Loading...</app-root>
<ion-app>Loading...</app-root>
</body>
</html>

0 comments on commit 4ff338a

Please sign in to comment.