Skip to content
This repository was archived by the owner on Feb 17, 2024. It is now read-only.

Commit e3c92ea

Browse files
committed
chore: readme
1 parent e6b02dc commit e3c92ea

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

README.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<p align="center">
2+
<a href="http://courses.angularclass.com/courses/angular-2-fundamentals" target="_blank">
3+
<img width="438" alt="Angular 2 Fundamentals" src="https://cloud.githubusercontent.com/assets/1016365/17200649/085798c6-543c-11e6-8ad0-2484f0641624.png">
4+
</a>
5+
</p>
6+
7+
---
8+
9+
# Angular 2 Bootloader
10+
> Angular 2 Bootloader for async script tag and hmr support
11+
12+
### Install
13+
> `npm install @angularclass/bootloader --save`
14+
15+
16+
```typescript
17+
import { bootloader } from '@angularclass/bootloader';
18+
19+
@NgModule({
20+
// ...
21+
})
22+
export class MainModule {}
23+
24+
export const platformRef = platformBrowserDynamic();
25+
26+
export function main() {
27+
return platformRef.bootstrapModule(MainModule);
28+
}
29+
30+
bootloader(main); // this will bootstrap your
31+
```
32+
33+
34+
enjoy — **AngularClass**
35+
36+
<br><br>
37+
38+
[![AngularClass](https://cloud.githubusercontent.com/assets/1016365/9863770/cb0620fc-5af7-11e5-89df-d4b0b2cdfc43.png "Angular Class")](https://angularclass.com)
39+
##[AngularClass](https://angularclass.com)
40+
> Learn AngularJS, Angular 2, and Modern Web Development from the best.
41+
> Looking for corporate Angular training, want to host us, or Angular consulting? patrick@angularclass.com

0 commit comments

Comments
 (0)