Skip to content

Commit

Permalink
fix(): Fixed documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
akserg committed Aug 28, 2016
1 parent 1593ba6 commit b1060b3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ Finally, you can use *ng2-slim-loading-bar* in your Angular 2 project:
- Instantiate `SlimLoadingBarService` in the bootstrap of your application;
- Add `SlimLoadingBarComponent` to the "directives" property of your application component;
- Add `<ng2-slim-loading-bar></ng2-slim-loading-bar>` tag in template of your application component.
- Inject style into your web page

```js
import {Component} from '@angular/core';
import {SlimLoadingBarService, SlimLoadingBarComponent} from 'ng2-slim-loading-bar';
import {bootstrap} from '@angular/platform/browser';

@Component({
selector: 'app',
Expand All @@ -70,12 +70,10 @@ export class AppComponent {
});
}
}

bootstrap(AppComponent);
```

# License
[MIT](/LICENSE)

# Credits
Inspired by [ngProgress.js](https://github.com/VictorBjelkholm/ngProgress)
Inspired by [ngProgress.js](https://github.com/VictorBjelkholm/ngProgress)

# License
[MIT](/LICENSE)
2 changes: 1 addition & 1 deletion tests/component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ TestBed.initTestEnvironment(
export function main() {
describe('SlimLoadingBar', () => {

let componentFixture:ComponentFixture<any>;
let componentFixture:ComponentFixture<SlimLoadingBarComponent>;
let component:SlimLoadingBarComponent;
let containerDiv:HTMLDivElement;
let progressDiv:HTMLDivElement;
Expand Down

0 comments on commit b1060b3

Please sign in to comment.