This file contains hidden or 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
import { FirebaseApp } from 'angularfire2'; | |
import { Injectable, Inject } from '@angular/core'; | |
/** | |
* After importing AngularFire2 with AngularFireModule.initializeApp(firebaseConfig), | |
* you can use this to access that instance that was created with your configuration | |
*/ | |
@Injectable() | |
export class FirebaseService { |
This file contains hidden or 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
<!-- | |
These are code style settings, based off the Style Guide for Angular 2: | |
https://angular.io/docs/ts/latest/guide/style-guide.html | |
WebStorm does not currently reformat code based off of tslint.json settings. | |
This is an attempt to set TypeScript settings for Code Style to follow the Style Guide. | |
I will update this as I find differences. | |
To Import: Settings > Editor > Code Style > Import | |
--> | |
<code_scheme name="Angular 2"> | |
<TypeScriptCodeStyleSettings> |