Guest User

Untitled

a guest
Jan 21st, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>AngularGetStarted</title>
  6. <base href="/">
  7. <meta name="viewport" content="width=device-width, initial-scale=1">
  8. <link rel="icon" type="image/x-icon" href="favicon.ico">
  9. </head>
  10. <body>
  11. <app-root></app-root>
  12. </body>
  13. <div>MY Test!!!</div>
  14. </html>
  15.  
  16. import { enableProdMode } from '@angular/core';
  17. import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
  18.  
  19. import { AppModule } from './app/app.module';
  20. import { environment } from './environments/environment';
  21.  
  22. if (environment.production) {
  23. enableProdMode();
  24. }
  25.  
  26. platformBrowserDynamic().bootstrapModule(AppModule)
  27. .catch(err => console.error(err));
  28.  
  29. import { Component } from '@angular/core';
  30.  
  31. @Component({
  32. selector: 'app-root',
  33. templateUrl: './app.component.html',
  34. styleUrls: ['./app.component.scss']
  35. })
  36. export class AppComponent {
  37. title = 'angular-get-started now';
  38. }
  39.  
  40. <h1>
  41. {{ title }}
  42. </h1>
  43.  
  44. <router-outlet></router-outlet>
Add Comment
Please, Sign In to add comment