<commit_before># AngularFire2

## API

### FIREBASE_PROVIDERS

Contains all AngularFire provider configuration for Angular's dependency injection.

Type: `any[]`
Usage:

```
import {bootstrap} from 'angular2/core';
import {App} from './app';
import {FIREBASE_PROVIDERS} from 'angularFire2';

bootstrap(App, FIREBASE_PROVIDERS);
```

### DEFAULT_FIREBASE_REF

Injectable symbol to create a Firebase reference based on
the url provided by `DEFAULT_FIREBASE`.

Type: `Firebase`
Usage:

```
import {Inject} from 'angular2/core';
import {DEFAULT_FIREBASE_REF} from 'angular2fire';
...
class MyComponent {
  constructor(@Inject(DEFAULT_FIREBASE_REF) ref:Firebase) {
    ref.on('value', this.doSomething);
  }
}
```

### DEFAULT_FIREBASE

URL for the app's default Firebase database.

Type: string
Usage:

```
import {App} from './app';
import {bootstrap, provide} from 'angular2/core';
import {DEFAULT_FIREBASE, FIREBASE_PROVIDERS} from 'angularfire2';

bootstrap(App, [
  FIREBASE_PROVIDERS,
  provide(DEFAULT_FIREBASE, {
    useValue: 'https://my.firebaseio.com'
  })
]);
```<commit_msg>docs(FirebaseList): add basic docs to Readme<commit_after># AngularFire2

## API

### FIREBASE_PROVIDERS

Contains all AngularFire provider configuration for Angular's dependency injection.

Type: `any[]`
Usage:

```
import {bootstrap} from 'angular2/core';
import {App} from './app';
import {FIREBASE_PROVIDERS} from 'angularFire2';

bootstrap(App, FIREBASE_PROVIDERS);
```

### DEFAULT_FIREBASE_REF

Injectable symbol to create a Firebase reference based on
the url provided by `DEFAULT_FIREBASE`.

Type: `Firebase`
Usage:

```
import {Inject} from 'angular2/core';
import {DEFAULT_FIREBASE_REF} from 'angular2fire';
...
class MyComponent {
  constructor(@Inject(DEFAULT_FIREBASE_REF) ref:Firebase) {
    ref.on('value', this.doSomething);
  }
}
```

### DEFAULT_FIREBASE

URL for the app's default Firebase database.

Type: string
Usage:

```
import {App} from './app';
import {bootstrap, provide} from 'angular2/core';
import {DEFAULT_FIREBASE, FIREBASE_PROVIDERS} from 'angularfire2';

bootstrap(App, [
  FIREBASE_PROVIDERS,
  provide(DEFAULT_FIREBASE, {
    useValue: 'https://my.firebaseio.com'
  })
]);
```

### FirebaseList

A convenient provider to inject a remote list of
Firebase into a component.

Type: Provider (from angular2/core)
Usage:

```typescript
import {Component, Inject} from 'angular2/core';
import {FirebaseList} from 'angularfire2';

@Component({
  selector: 'questions-list',
  providers: [
    FirebaseList({
      token: '/questions', // Token used to inject in the constructor
      path: '/questions', // Will append to the DEFAULT_FIREBASE if relative
    })
  ],
  template: `
    <ul>
      <li *ngFor="#question of questions | async">
        Asked by: {{question.author}}
        Question: {{question.body}}
      </li>
    </ul>
  `
})
class QuestionsList {
  constructor(@Inject('/questions') public questions:Observable<Question>) {
  }
}

```
{'fraction_non_alphanumeric': 0.13481631277384565, 'fraction_numerical': 0.005729693292888439, 'mean_word_length': 4.854043392504931, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1233395', 'n_tokens_mistral': 990, 'n_tokens_neox': 966, 'n_words': 260}