Title: AngularFire2
Description: AngularFire2 Search Preparing search index The search index is not available AngularFire2 Options All Public Public/Protected All Inherited Externals Only exported Menu Globals AngularFire2 AngularFir is ranked 676758 in the world (amongst the 40 million domains). A low-numbered rank means that this website gets lots of visitors. This site is relatively popular among users in the united states. It gets 50% of its traffic from the united states .This site is estimated to be worth $145,420. This site has a low Pagerank(0/10). It has 1 backlinks. has 43% seo score. Information

Website / Domain:
Website IP Address:
Domain DNS Server:,,, Rank

Alexa Rank: 676758
Google Page Rank: 0/10 (Google Pagerank Has Been Closed) Traffic & Earnings

Purchase/Sale Value: $145,420
Daily Revenue: $398
Monthly Revenue $11,952
Yearly Revenue: $145,420
Daily Unique Visitors 36,654
Monthly Unique Visitors: 1,099,620
Yearly Unique Visitors: 13,378,710 WebSite Httpheader

StatusCode 200
Cache-Control max-age=3600
Content-Type text/html; charset=utf-8
Date Fri, 12 Aug 2016 17:08:09 GMT
Server nginx Keywords accounting

Keyword Count Percentage Traffic Sources Chart Similar Website

Domain Site Title AngularFire2 Alexa Rank History Chart aleax Html To Plain Text

AngularFire2 Search Preparing search index... The search index is not available AngularFire2 Options All Public Public/Protected All Inherited Externals Only exported Menu Globals AngularFire2 AngularFire2 Status: In-Development Realtime bindings and authentication for Angular 2 AngularFire2 integrates Firebase's realtime observers and authentication with Angular2. Example use: import {Component} from 'angular2/core'; import {AngularFire} from 'angularfire2'; import {Observable} from 'rxjs/Observable'; @Component({ selector: 'project-name-app', providers: [], templateUrl: 'app/project-name-app.html', directives: [], pipes: [] }) export class MyApp { items: Observable; constructor(af: AngularFire) { this.items = af.list('/items'); } } Install npm install angularfire2 --save 10 steps to AngularFire2 Don't worry, we're working to make this shorter. To build with AngularFire 2, make sure you have the Angular CLI installed. Then follow the steps below. 1. Create a new project ng new cd The Angular CLI's new command will set up the latest Angular build in a new project structure. 2. Install AngularFire 2 and Firebase npm install angularfire2 && firebase --save Now that you have a new project setup, install AngularFire 2 and Firebase from NPM. 3. Install typings npm install typings -g typings install --save --ambient firebase AngularFire 2 is written in Typescript and depends on typings for the Firebase SDK. To get a clean build, install typings and download the Firebase typings. 4. Include AngularFire 2 and Firebase in the vendor files Open ember-cli-build.js (yes, I said Ember). Include AngularFire2 and Firebase in the vendorNpmFiles array: /* global require, module */ var Angular2App = require('angular-cli/lib/broccoli/angular2-app'); module.exports = function(defaults) { var app = new Angular2App(defaults, { vendorNpmFiles: [ 'angularfire2/**/*.js', 'firebase/lib/*.js' ] }); return app.toTree(); } 5. Build ng build Run a build and check the /dist/vendor folder for the angularfire2 and firebase folders. 6. System.js Open /src/index.html. Modify the System.config like below: System.config({ map: { firebase: 'vendor/firebase/lib/firebase-web.js', angularfire2: 'vendor/angularfire2' }, packages: { app: { format: 'register', defaultExtension: 'js' }, angularfire2: { defaultExtension: 'js', main: 'angularfire2.js' } } }); AngularFire 2 and Firebase need to be mapped with System.js for module loading. 7. Bootstrap Open /src/app.ts: import {bootstrap} from 'angular2/platform/browser'; import {MyAppClass} from './app/'; import {ROUTER_PROVIDERS} from 'angular2/router'; import {FIREBASE_PROVIDERS, defaultFirebase, AngularFire} from 'angularfire2'; bootstrap(, [ FIREBASE_PROVIDERS, defaultFirebase(''), ROUTER_PROVIDERS ]); 8. Inject AngularFire Open /src/app/project-name.ts: import {Component} from 'angular2/core'; import {RouteConfig, ROUTER_DIRECTIVES} from 'angular2/router'; import {AngularFire} from 'angularfire2'; import {Observable} from 'rxjs/Observable'; @Component({ selector: 'project-name-app', providers: [], templateUrl: 'app/project-name-app.html', directives: [ROUTER_DIRECTIVES], pipes: [] }) @RouteConfig([ ]) export class ProjectNameApp { constructor(af: AngularFire) { } } 9. Bind to a list In /src/app/project-name.ts: import {Component} from 'angular2/core'; import {RouteConfig, ROUTER_DIRECTIVES} from 'angular2/router'; import {AngularFire} from 'angularfire2'; import {Observable} from 'rxjs/Observable'; @Component({ selector: 'project-name-app', providers: [], templateUrl: 'app/project-name-app.html', directives: [ROUTER_DIRECTIVES], pipes: [] }) @RouteConfig([ ]) export class ProjectNameApp { items: Observable; constructor(af: AngularFire) { // create a list at /items this.items = af.list('/items'); } } Open /src/app/project-name.html: {{item}} The async pipe unwraps the each item in the people observable as they arrive. 10. Serve ng serve Run the serve command and go to localhost:4200 in your browser. And that's it! If it totally borke, file an issue and let us know. API AngularFire Service The recommended way to take advantage of the AngularFire library is to use the injectable AngularFire service. import {Component} from 'angular2/core'; import {bootstrap} from 'angular2/platform/browser'; import {Observable} from 'rxjs/Observable'; import {FIREBASE_PROVIDERS, defaultFirebase, AngularFire} from 'angularfire2'; import {Question} from './services/question'; @Component({ template:` {{question.text}} ` }) class App { questions:Observable constructor(af:AngularFire) { // Get an observable of a synchronized array from /questions this.questions = af.list('/questions'); } } bootstrap(App, [ // Common injectable providers from the AngularFire lib FIREBASE_PROVIDERS, // Tell AngularFire the base URL for the Firebase used throughout defaultFirebase('') ]); FIREBASE_PROVIDERS Contains all AngularFire provider configuration for Angular's dependency injection. Type: any[] Usage: import {bootstrap} from 'angular2/platform/browser'; import {App} from './app'; import {FIREBASE_PROVIDERS} from 'angularfire2'; bootstrap(App, FIREBASE_PROVIDERS); defaultFirebase Define the root url for the library, to resolve relative paths. Type: string Usage: import {bootstrap} from 'angular2/platform/browser'; import {FIREBASE_PROVIDERS, defaultFirebase} from 'angularfire2'; bootstrap(App, [ FIREBASE_PROVIDERS, defaultFirebase('') ]); FirebaseRef Injectable symbol to create a Firebase reference based on the url provided by FirebaseUrl. Type: Firebase Usage: import {Inject} from 'angular2/core'; import {FirebaseRef} from 'angularfire2'; ... class MyComponent { constructor(@Inject(FirebaseRef) ref:Firebase) { ref.on('value', this.doSomething); } } FirebaseUrl URL for the app's default Firebase database. Type: string Usage: import {bootstrap} from 'angular2/platform/browser'; import {Inject} from 'angular2/core'; import {FirebaseUrl, FIREBASE_PROVIDERS, defaultFirebase} from 'angularfire2'; @Component({ selector: 'app', template: `{{ url }}` }) class App { constructor(@Inject(FirebaseUrl) public url: string) {} } bootstrap(App, [ FIREBASE_PROVIDERS, defaultFirebase('') ]); FirebaseAuth Injectable service for managing authentication state. Logging In To log in a user, call the login method on an instance of FirebaseAuth class. The method has the following two signatures: login(config?: AuthConfiguration): Promise; login(credentials: AuthCredentials, config?: AuthConfiguration): Promise; The signature that is used depends on which AuthMethod you chose to use to login. AuthMethods.Popup, AuthMethods.Redirect, and AuthMethods.Anonymous all use the first signature whereas AuthMethods.CustomToken, AuthMethods.OAuthToken, and AuthMethods.Password use the second signature. This is because if you use these three AuthMethods you need to provide a credentials argument to login. AuthConfiguration You MUST provide an AuthConfiguration object to use the login method, however you do not need to pass it to login correctly. Instead you may choose to pass the configuration in through DI. This helps keep your components modular because they can simply call login and it will use whichever options were provided through DI. You can use the firebaseAuthConfigMethod to generate a Provider object which you can pass to DI like so: import {bootstrap} from 'angular2/core'; import { FIREBASE_PROVIDERS, defaultFirebase, firebaseAuthConfig, AuthProviders, AuthMethods } from 'angularfire2'; bootstrap(MyApp, [ FIREBASE_PROVIDERS, defaultFirebase(''), firebaseAuthConfig({ provider: AuthProviders.Facebook, method: AuthMethods.Popup, remember: 'default', scope: ['email'] }) ]); Once you've done that you can simply call login on the auth object. This will automatically use the options that were configured with DI. You can override those options by providing an optional configuration object to the login method like so: import {Component} from 'angular2/core'; import {FirebaseAuth} from 'angularfire2'; @Component({ selector: 'my-component' templateUrl: 'my_template.html' }) export class MyApp { constructor (private _auth: FirebaseAuth) {} public doLogin () { // This will perform popup auth with google oauth and the scope will be email // Because those options were provided through bootstrap to DI, and we're overriding the provider. this._auth.login({ provider: AuthProviders.Google }); } } Subscribing to Authentication State Type: class FirebaseAuth extends ReplaySubject Usage: import {FirebaseAuth} from 'angularfire2'; @Component({ selector: 'auth-status', template: ` You are logged in Please log in ` }) class App { constructor (@Inject(FirebaseAuth) public auth: FirebaseAuth) {} } FirebaseListObservable Subclass of rxjs Observable which also has methods for updating list-like Firebase data. type: class additional methods: add:(val) => void: Add an element to the Firebase ref. Globals Internals "angularfire2" "angularfire2.spec" "angularfire2_worker_app" "angularfire2_worker_render" "providers/auth.spec" "utils/absolute_path_resolver" "utils/firebase_list_factory.spec" "utils/firebase_list_observable.spec" "utils/firebase_object_factory" "utils/firebase_object_factory.spec" "utils/firebase_object_observable.spec" Externals "providers/auth" "providers/auth_backend" "providers/firebase_sdk_auth_backend" "providers/web_workers/shared/channels" "providers/web_workers/ui/auth" "providers/web_workers/worker/auth" "tokens" "utils/firebase_list_factory" "utils/firebase_list_observable" "utils/firebase_object_observable" "utils/utils" Legend Module Object literal Variable Function Function with type parameter Index signature Type alias Enumeration Enumeration member Property Method Interface Interface with type parameter Constructor Property Method Index signature Class Class with type parameter Constructor Property Method Accessor Index signature Inherited constructor Inherited property Inherited method Inherited accessor Protected property Protected method Protected accessor Private property Private method Private accessor Static property Static method Generated using TypeDoc Whois

Domain Name:
Registry Domain ID:
Registrar WHOIS Server:
Registrar URL:
Updated Date: 2016-03-21T07:00:00Z
Creation Date: 2016-03-21T07:00:00Z
Registrar Registration Expiration Date: 2017-03-21T07:00:00Z
Registrar: Google, Inc.
Registrar IANA ID: 895
Registrar Abuse Contact Email:
Registrar Abuse Contact Phone: +1.8772376466
Domain Status: clientTransferProhibited
Registry Registrant ID:
Registrant Name: Contact Privacy Inc. Customer 12487157
Registrant Organization: Contact Privacy Inc. Customer 12487157
Registrant Street: 96 Mowat Ave
Registrant City: Toronto
Registrant State/Province: ON
Registrant Postal Code: M4K 3K1
Registrant Country: CA
Registrant Phone: +1.4165385487
Registrant Phone Ext:
Registrant Fax:
Registrant Fax Ext:
Registrant Email:
Registry Admin ID:
Admin Name: Contact Privacy Inc. Customer 12487157
Admin Organization: Contact Privacy Inc. Customer 12487157
Admin Street: 96 Mowat Ave
Admin City: Toronto
Admin State/Province: ON
Admin Postal Code: M4K 3K1
Admin Country: CA
Admin Phone: +1.4165385487
Admin Phone Ext:
Admin Fax:
Admin Fax Ext:
Admin Email:
Registry Tech ID:
Tech Name: Contact Privacy Inc. Customer 12487157
Tech Organization: Contact Privacy Inc. Customer 12487157
Tech Street: 96 Mowat Ave
Tech City: Toronto
Tech State/Province: ON
Tech Postal Code: M4K 3K1
Tech Country: CA
Tech Phone: +1.4165385487
Tech Phone Ext:
Tech Fax:
Tech Fax Ext:
Tech Email:
DNSSEC: unsigned
URL of the ICANN WHOIS Data Problem Reporting System:
>>> Last update of WHOIS database: 2016-08-17T22:11:46Z <<<
For more information on Whois status codes, please visit
Please register your domains at:
This data is provided by Google for information purposes, and to assist
persons obtaining information about or related to domain name registration
records. Google does not guarantee its accuracy.
By submitting a WHOIS query, you agree that you will use this data only for
lawful purposes and that, under no circumstances, will you use this data to:
1) allow, enable, or otherwise support the transmission of mass
  unsolicited, commercial advertising or solicitations via E-mail (spam); or
2) enable high volume, automated, electronic processes that apply to this
  WHOIS server.
These terms may be changed without prior notice.
By submitting this query, you agree to abide by this policy