This file contains hidden or 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 lang="en"> | |
| <head> | |
| <base href="./"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> | |
| </head> | |
| <body style="overflow: hidden; background-color: rgba(0,0,0,0); margin: 0" > | |
| <app-root></app-root> | |
| </body> | |
| <script>window.exports = module.exports</script> |
This file contains hidden or 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
| import { enableProdMode } from '@angular/core'; | |
| import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; | |
| import { AppModule } from './app/app.module'; | |
| import { environment } from './environments/environment'; | |
| if (environment.production) { | |
| enableProdMode(); | |
| } |
This file contains hidden or 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
| import { Component, OnInit } from '@angular/core'; | |
| import { FormControl, FormGroup, FormArray } from '@angular/forms'; | |
| import { StockTickerService } from '../services/stock-ticker.service'; | |
| import {Observable} from 'rxjs/Observable'; | |
| import {Stock} from '../models/stock-model'; | |
| import {Store} from '@ngrx/store'; | |
| import * as Lookup from '../actions/lookup-actions/lookup-actions'; | |
| import * as fromRoot from '../reducers/reducers' |
This file contains hidden or 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
| import { Injectable } from '@angular/core'; | |
| import { HttpClient, HttpHeaders } from '@angular/common/http'; | |
| import { Observable } from 'rxjs/Observable'; | |
| import 'rxjs/add/operator/map' | |
| import 'rxjs/add/operator/mergeMap'; | |
| import * as moment from 'moment'; | |
| import {environment} from '../../environments/environment'; | |
| import { IntervalObservable } from "rxjs/observable/IntervalObservable"; |
This file contains hidden or 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
| import {Injectable} from '@angular/core'; | |
| import {HttpClient} from '@angular/common/http'; | |
| import {Observable, interval} from 'rxjs'; | |
| import {flatMap} from 'rxjs/operators'; | |
| @Injectable({ | |
| providedIn: 'root' | |
| }) | |
| export class DashboardService { |
This file contains hidden or 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
| import { BrowserModule } from '@angular/platform-browser'; | |
| import { NgModule } from '@angular/core'; | |
| import { HttpClientModule } from '@angular/common/http'; | |
| import { FormsModule } from '@angular/forms'; | |
| import { AppComponent } from './app.component'; | |
| import { TemplateFormComponent } from './components/template-form/template-form.component'; | |
| import { ReactiveFormComponent } from './components/reactive-form/reactive-form.component'; | |
| @NgModule({ |