-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Followed install instructions from https://github.com/angular/angularfire2 but getting errors on firebase namespace as per angular/angularfire#461
- Loading branch information
ashmccallum
committed
Aug 30, 2016
1 parent
aea143b
commit af51b19
Showing
4 changed files
with
35 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,22 @@ | ||
<h1> | ||
{{title}} | ||
</h1> | ||
<!--<div> | ||
<md-list> | ||
<md-list-item class="text" *ngFor="let item of items | async"> | ||
{{item.$value}} | ||
</md-list-item> | ||
</md-list> | ||
</div>--> | ||
<div> | ||
<md-checkbox></md-checkbox> | ||
</div> | ||
<div> | ||
<button md-raised-button color="primary">Click Me</button> | ||
</div> | ||
<div> | ||
<md-input placeholder="amount" align="end"> | ||
<span md-prefix>$ </span> | ||
<span md-suffix>.00</span> | ||
</md-input> | ||
</h1> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
import { MdCheckbox } from '@angular2-material/checkbox'; | ||
import { AngularFire, FirebaseListObservable } from 'angularfire2'; | ||
|
||
@Component({ | ||
selector: 'app-root', | ||
templateUrl: 'app.component.html', | ||
styleUrls: ['app.component.css'], | ||
directives: [MdCheckbox] | ||
directives: [] | ||
}) | ||
export class AppComponent { | ||
//items: FirebaseListObservable<any[]>; | ||
constructor(af: AngularFire) { | ||
//this.items = af.database.list('items'); | ||
} | ||
title = 'Someone told me: app works!'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters