chore(angular): get angular demo running again

This commit is contained in:
Dan Bucholtz
2017-11-21 22:22:44 -06:00
parent 2e83084867
commit 7a5682fbbe
4 changed files with 717 additions and 43 deletions

View File

File diff suppressed because it is too large Load Diff

View File

@@ -22,6 +22,7 @@
"@angular/platform-browser-dynamic": "^5.0.0",
"@angular/router": "^5.0.0",
"@ionic/angular": "next",
"@ionic/core": "next",
"core-js": "^2.4.1",
"rxjs": "^5.5.2",
"zone.js": "^0.8.14"
@@ -30,6 +31,7 @@
"@angular/cli": "1.5.0",
"@angular/compiler-cli": "^5.0.0",
"@angular/language-service": "^5.0.0",
"@stencil/core": "0.0.7",
"@types/jasmine": "~2.5.53",
"@types/jasminewd2": "~2.0.2",
"@types/node": "~6.0.60",
@@ -45,6 +47,6 @@
"protractor": "~5.1.2",
"ts-node": "~3.2.0",
"tslint": "~5.7.0",
"typescript": "~2.4.2"
"typescript": "^2.5.2"
}
}

View File

@@ -1,6 +1,6 @@
import { Component } from '@angular/core';
import { AlertController } from '@ionic/angular';
// import { AlertController } from '@ionic/angular';
@Component({
selector: 'app-alert-page',
@@ -21,17 +21,18 @@ import { AlertController } from '@ionic/angular';
})
export class AlertPageComponent {
constructor(private alertController: AlertController) {
constructor(/*private alertController: AlertController*/) {
}
clickMe() {
const alert = this.alertController.create({
/*const alert = this.alertController.create({
title: 'ohhhh snap',
message: 'Gretting from an ng cli app',
});
alert.present();
alert.present();*/
alert('yeah');
}
}

View File

@@ -4,14 +4,14 @@ import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { AppRoutingModule } from './app-routing.module';
import { IonicAngularModule } from '../../../src/module';
// import { IonicAngularModule } from '@ionic/angular';
@NgModule({
declarations: [AppComponent],
imports: [
AppRoutingModule,
BrowserModule,
IonicAngularModule
// IonicAngularModule
],
providers: [],
bootstrap: [AppComponent],