Demo entry 6713983

codigo

   

Submitted by yisus on Feb 11, 2018 at 00:47
Language: Angular2. Code size: 351 Bytes.

import { Component } from '@angular/core';


@Component({
  selector: 'app-root',
  template: `<p>{{PropiedadCadena}}   <br> Valor de title: {{title}}</p> 
 `,
  styleUrls: ['./app.component.css']
})
export class AppComponent {
  title:string  = 'JESUS DE LA TORRE';
  PropiedadCadena = 'Soy una cadena que se insertara en un template'
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).