Apply for Zend Framework Certification Training



export default class Character {
    actor_name: String;
    character_name: String;
    gender: String;
    status: String;



<div class="container">
  <table class="table table-striped">
          <th>Actor Name</th>
          <th>Character Name</th>
      <tr *ngFor="let character of characters">
        <td>{ { character.actor_name } }</td>
        <td>{ { character.character_name } }</td>
        <td>{ { character.gender } }</td>
        <td>{ { character.status } }</td>


npm install bootstrap --save


import { Component, OnInit } from '@angular/core';
import Character from '../Character';
  selector: 'app-home',
  templateUrl: './',
  styleUrls: ['./',"../../../node_modules/bootstrap/dist/css/bootstrap.min.css"],
export class HomePage implements OnInit {
   constructor() { }
   ngOnInit() {
  characters: Character[] = [ { actor_name: 'Peter Dinklage',character_name: 'Tyrion Lannister',gender: 'Male',status: 'Alive'},
                     { actor_name: 'Sean Bean', character_name: 'Ned Stark', gender: 'Male', status: 'Dead' } ];

< First Getting Started With CodeIgniter URL Routing >

Ask a question

  • Question:
    • Answer:
      {{answer.blog_answer_description  }}
    Replay to Question

Back to Top