Created
March 26, 2020 20:18
-
-
Save petermikitsh/632fcebe93f48ebfa506d58a7c5a7fa6 to your computer and use it in GitHub Desktop.
Angular 8
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Angular 8</title> | |
</head> | |
<body> | |
<app-root></app-root> | |
<script src="https://unpkg.com/reflect-metadata@0.1.13/Reflect.js"></script> | |
<script src="https://unpkg.com/zone.js@0.10.3/dist/zone.js"></script> | |
<script src="https://unpkg.com/@reactivex/rxjs@6.5.4/dist/global/rxjs.umd.js"></script> | |
<script src="https://unpkg.com/@angular/core@8.2.14/bundles/core.umd.js"></script> | |
<script src="https://unpkg.com/@angular/common@8.2.14/bundles/common.umd.js"></script> | |
<script src="https://unpkg.com/@angular/compiler@8.2.14/bundles/compiler.umd.js"></script> | |
<script src="https://unpkg.com/@angular/platform-browser@8.2.14/bundles/platform-browser.umd.js"></script> | |
<script src="https://unpkg.com/@angular/platform-browser-dynamic@8.2.14/bundles/platform-browser-dynamic.umd.js"></script> | |
<script> | |
const AppComponent = ng.core.Component({ | |
selector: "app-root", | |
template: "<h1>Hello World</h1>" | |
})(class AppComponent {}); | |
const AppModule = ng.core.NgModule({ | |
declarations: [AppComponent], | |
imports: [ng.platformBrowser.BrowserModule], | |
bootstrap: [AppComponent] | |
})(class AppModule {}); | |
ng.platformBrowserDynamic | |
.platformBrowserDynamic() | |
.bootstrapModule(AppModule); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment