21 July 2017 Sudhanshu Ranjan 203

What is Angular 2 and how it is different from Angularjs 1

Angular 2 is a JavaScript-based open-source front-end web application framework. It mainly maintained by Google and by a community of individuals and corporations to address many of the challenges encountered in developing single-page applications. Also, testing has been considered as a key aspect while building the framework. It has been ensured that the framework could be easily tested. The initial release of the framework was in October 2010 and now officially 4.0 version announced.

Why we use Angular 2

  1. Performance – It is more faster compare to angularjs 1.0
  2. Device Supported – Angular 2.0 applications work and support in all devices across mobile, tablets and desktop but Angular 1.0 is not completely supported it use third party frameworks.
  3. Component – In 2.0, everything are component. Components are the most basic building block of an UI in an Angular application. An Angular application is a tree of Angular components. Angular components are a subset of directives. Unlike directives, components always have a template and only one component can be instantiated per an element in a template. We can easily reuse the component code and testing prospective it is more testable in comparison of angular 1.0.
  4. Multiple Language Choice – There is so many language choice for scripting programming in angular 2.0 like  JavaScript, ES5, ES6, TypeScript, Dart, PureScript etc. We mostly use the TypeScript for programing.
  5. Tooling support is as good as on Java or .Net platforms.
  6. Full-featured routing
  7. Big community

 

So we should learn angular 2.0 & Enjoy coding

You can share at :

About Author
Sudhanshu Kumar Ranjan | Lead Engineer at HCL Technologies | Expertise in Microsoft Technology | Author | Blogger | Programmer
Know More
Connect with him on Facebook | Google+ | LinkedIn | Twitter

Recommended Post

Leave a comment

About Dotnet Cube

It's my blog - Dotnet Cube, where you will learn and get solutions about programming, web designing and development. I started this website to share my knowledge and experience which might help someone.

You can get more details about me and my blog at About Us page.

Subscribe Newsletter

Subscribe to our monthly newsletter to get the latest industry news, Media Group updates and our current specials.

Follow On Us...

Home | About | Advertise | Copyrights | Privacy | Contact | Admin

Copyrights © 2015-2017 dotnetcube.com. All rights reserved