├── src ├── assets │ ├── .gitkeep │ └── css │ │ └── bootstrap.min.css ├── app │ ├── app.component.css │ ├── display │ │ ├── display.component.css │ │ ├── display.component.html │ │ ├── display.component.ts │ │ └── display.component.spec.ts │ ├── blockchain │ │ ├── blockchain.component.css │ │ ├── blockchain.model.ts │ │ ├── blockchain.component.spec.ts │ │ ├── blockchain.component.ts │ │ └── blockchain.component.html │ ├── app.state.ts │ ├── app.component.html │ ├── app.component.ts │ ├── reducers │ │ └── blockchain.reducer.ts │ ├── app.module.ts │ └── app.component.spec.ts ├── favicon.ico ├── styles.css ├── environments │ ├── environment.prod.ts │ └── environment.ts ├── typings.d.ts ├── tsconfig.app.json ├── tsconfig.spec.json ├── main.ts ├── index.html ├── test.ts └── polyfills.ts ├── e2e ├── app.po.ts ├── tsconfig.e2e.json └── app.e2e-spec.ts ├── .editorconfig ├── tsconfig.json ├── .gitignore ├── protractor.conf.js ├── karma.conf.js ├── README.md ├── .angular-cli.json ├── package.json └── tslint.json /src/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/app.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/display/display.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/blockchain/blockchain.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KrunalLathiya/AngularNgRxStore/HEAD/src/favicon.ico -------------------------------------------------------------------------------- /src/styles.css: -------------------------------------------------------------------------------- 1 | /* You can add global styles to this file, and also import other style files */ 2 | -------------------------------------------------------------------------------- /src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true 3 | }; 4 | -------------------------------------------------------------------------------- /src/app/blockchain/blockchain.model.ts: -------------------------------------------------------------------------------- 1 | export interface Blockchain { 2 | name: string; 3 | price: number; 4 | } 5 | -------------------------------------------------------------------------------- /src/typings.d.ts: -------------------------------------------------------------------------------- 1 | /* SystemJS module definition */ 2 | declare var module: NodeModule; 3 | interface NodeModule { 4 | id: string; 5 | } 6 | -------------------------------------------------------------------------------- /src/app/app.state.ts: -------------------------------------------------------------------------------- 1 | import { Blockchain } from './blockchain/blockchain.model'; 2 | 3 | export interface AppState { 4 | readonly blockchain: Blockchain[]; 5 | } 6 | -------------------------------------------------------------------------------- /src/app/app.component.html: -------------------------------------------------------------------------------- 1 |
| Coin Name | 5 |Coin Price | 6 |
| {{ coin.name }} | 11 |{{ coin.price }} | 12 |