Angular 2 is the latest framework for building web applications using typescript. Recently, angular team is skipped the version 3.x because, router package is shipped with 3.x previously, so instead of putting into 3.x, choose to move to 4.x.

Wednesday, 19 October 2016

Hello World Sample with Angular 2

we are going to write simple hello world program using angular 2.

We use official version of MongoDB
import { Component,View } from '@angular/core';
@Component({
selector: 'my-app'
})
@View({
 template: '<p>Welcome to the world of {{title}}</p>'
})
export class HelloWorldComponent {
 title='Hello World'
}

0 coment�rios:

Post a Comment

Labels

Online Training

Your Name :
Your Email: (required)
Your Message: (required)

Powered by Blogger.

Recent Posts

Find Us On Facebook

Popular Posts