Skip to main content

Posts

Showing posts from June, 2017

Hello World Program in Angular 2

         Before we start the angular development, we need to install node setup to your environment. Please download node  latest version and install it. Once installed it, you will open a terminal or command prompt to type the following command.        node --version The above command was shown installed node version details. Then install for AngularCLI for globally.       npm install -g @angular/cli Create a new Project Generate a new project by using angular cli. We execute the following command         ng new welcometolearntoday  Fig: Then automatically Angular related packages are generated. the following image is shown the list of file names are generated. Fig: Then go to project folder: cd welcometolearntoday  now start to run the angular application ng server --open Now, the following url is generated and open the browser. http://localhost:4200/ Fig:

Why I can learn Angular 2

Speed and performance: * Today we are not ready to write a bundle of code in application development so framework will support to make easy. * We are integrating any different type of server platform to develop admin dashboard view(ex java, php and .Net). * Angular code is split different type of names(component, model, service) and easily load. Cross Platform: * Angular is a support to progressive web application development and zero step installation. * In this platform is supported to develop  Ionic  and NativeScript  projects. * Angular also support to develop a desktop application in various platforms like Mac and Windows environment. Productivity: * Quickly create the powerful UI templates in angular. * Angular-CLI is the support to auto-generated related package files. Full Development story: * It will support karma and unit testing script. * Animation related application development and choreographies.