{"id":144,"date":"2017-06-26T15:13:08","date_gmt":"2017-06-26T09:43:08","guid":{"rendered":"http:\/\/www.concettolabs.com\/blog\/?p=144"},"modified":"2017-06-26T15:13:08","modified_gmt":"2017-06-26T09:43:08","slug":"comparative-study-angular-js-1-angular-js-2","status":"publish","type":"post","link":"https:\/\/websitelaravel.concettoprojects.com\/blog\/comparative-study-angular-js-1-angular-js-2\/","title":{"rendered":"Comparative Study Between Angular js 1 and Angular js 2"},"content":{"rendered":"<p>Angular JS also was known as &#8220;Angular.js&#8221; or &#8220;AngularJS 1.X&#8221; marked its birth in the year 2010, to ease out the building of complex and data-heavy web apps through JavaScript. At the time of launch Angular JS could boast of having three jewels glued to its glory:<\/p>\n<ol>\n<li>Inimitable fast code production<\/li>\n<li>Effortless testable piece of application<\/li>\n<li>Backstage support of Google<\/li>\n<\/ol>\n<p>But technology is another term for continuous change or innovation. Thus came the good news of Angular JS 2, which is very much distant to its elder JS 1. Let\u2019s study the differences in detail with examples to ensure ease of understanding on part of every reader.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Angular_JS_2_has_better_mobile_acclimatization_and_excels_in_its_performance\"><\/span>Angular JS 2 has better mobile acclimatization and excels in its performance.<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>When Angular JS 1 was being conceived, the mobile support friendly mechanism was not taken into consideration, however, Angular 2 was thoroughly mobile supported. The use of the Hierarchical Dependency Injection system and unidirectional tree-based change detection in Angular 2 is a considerable performance backer.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-145 size-full\" title=\"Angular JS\" src=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/1.png\" alt=\"Angular JS\" width=\"559\" height=\"351\" srcset=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/1.png 559w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/1-300x188.png 300w\" sizes=\"auto, (max-width: 559px) 100vw, 559px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Angular_2_offers_a_wide_range_of_language_options\"><\/span>Angular 2 offers a wide range of language options<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Angular 2 has ES5, ES6, and TypeScript or Dart languages to select from as opposed to Angular 1 which has limited options under its umbrella, namely ES5, ES6, and Dart.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Implementation_of_web_standards_in_Angular_2\"><\/span>Implementation of web standards in Angular 2<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Angular 2 provides exceptional quality performance as compared to Angular 1, because of the implementation of web standards (components).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-146 size-full\" title=\"Angular 2\" src=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/2.png\" alt=\"Angular 2\" width=\"475\" height=\"372\" srcset=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/2.png 475w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/2-300x235.png 300w\" sizes=\"auto, (max-width: 475px) 100vw, 475px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Ease_of_setup\"><\/span>Ease of setup<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>In the easy setup of Angular JS, one has to only add a reference library and it is good to go. Whereas Angular 2 is dependent on other libraries and hence has complex steps to follow, before the final green signal.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Gone_are_the_days_of_Angular_1x_controllers_and_scope\"><\/span>Gone are the days of Angular 1.x controllers and $scope<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>In Angular 2, controllers are replaced with \u201cComponents\u201d. Angular 2 uses zone.js to detect the changes.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-148 size-full\" title=\"Angular 1.x controllers\" src=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/3.png\" alt=\"Angular 1.x controllers\" width=\"460\" height=\"584\" srcset=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/3.png 460w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/3-236x300.png 236w\" sizes=\"auto, (max-width: 460px) 100vw, 460px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-147\" title=\"Angular 2.x controllers\" src=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/4-300x96.png\" alt=\"Angular 2.x controllers\" width=\"472\" height=\"151\" srcset=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/4-300x96.png 300w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/4.png 548w\" sizes=\"auto, (max-width: 472px) 100vw, 472px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Way_to_define_local_variables\"><\/span>Way to define local variables<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>In Angular JS 2 local variables are defined using hash (#).<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Change_in_structural_directives_syntax\"><\/span>Change in structural directives syntax<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>In Angular 2 ng-repeat is replaced with *ngFor. In AngularJS 2 version \u201c2.0.0-beta.17 instead of \u201c#\u201d use \u201clet\u201d.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-149 size-full\" title=\"AngularJS Structural Directives\" src=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/5.png\" alt=\"AngularJS Structural Directives\" width=\"445\" height=\"413\" srcset=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/5.png 445w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/5-300x278.png 300w\" sizes=\"auto, (max-width: 445px) 100vw, 445px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Use_of_camelCase_syntax_for_built-in_directives\"><\/span>Use of camelCase syntax for built-in directives<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Angular 2 uses camelCase syntax for built-in directives. For example, the ng-model is now ngModel.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"HTML_DOM_element_properties_and_events\"><\/span>HTML DOM element properties and events<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Angular 2 directly uses HTML DOM element properties and events, because of which several Angular 1 built-in directives have lost their application. For example, ng-href, ng-src, ng-show, and ng-hide of Angular 1, were replaced with href, src, and hidden of Angular 2.<\/p>\n<p><strong>Also Read:\u00a0<a href=\"https:\/\/www.concettolabs.com\/blog\/why-angularjs-top-notch-list-for-your-next-web-development\/\" target=\"_blank\" rel=\"nofollow\"><span style=\"text-decoration: underline;\">Why should AngularJS top-notch the list for your next web development \u2013 We have reasons for you!<\/span><\/a><\/strong><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Data_binding_directive_replaced\"><\/span>Data binding directive replaced<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>In Angular 2, ng-bind used for one-way data binding in Angular 1 has been replaced with <strong>[property].<\/strong><\/p>\n<p>Angular 1.x, one-way data binding<\/p>\n<p>&lt;input ng-bind=&#8221;technology.name&#8221;&gt;&lt;\/input&gt;<\/p>\n<p>Angular 2, one-way data binding<\/p>\n<p>&lt;button (click)=&#8221;doSomething()&#8221;&gt;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Two-way_data_binding\"><\/span>Two-way data binding<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>In Angular 2, ng-model used for two way data binding in Angular 1 has been replaced with [<strong>(ngModel)]<\/strong>.<\/p>\n<p>Angular 1, two-way data binding,<\/p>\n<p>&lt;input ng-model=&#8221;technology.name&#8221;&gt;&lt;\/input&gt;<\/p>\n<p>Angular 2, two-way data binding,<\/p>\n<p>&lt;input [(ngModel)]=&#8221;technology.name&#8221;&gt;&lt;\/input&gt;<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Bootstrapping_Angular_Application\"><\/span>Bootstrapping Angular Application<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>In Angular 1, there are two ways to bootstrap: \u00a0ng-app attribute and other via code.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-150 size-full\" title=\"Bootstrapping Angular Application\" src=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/6.png\" alt=\"Bootstrapping Angular Application\" width=\"397\" height=\"148\" srcset=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/6.png 397w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/6-300x112.png 300w\" sizes=\"auto, (max-width: 397px) 100vw, 397px\" \/><\/p>\n<p>In Angular 2, it is only ng-app<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-151 size-full\" title=\"In Angular 2, it is only ng-app\" src=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/7.png\" alt=\"In Angular 2, it is only ng-app\" width=\"397\" height=\"148\" srcset=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/7.png 397w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/7-300x112.png 300w\" sizes=\"auto, (max-width: 397px) 100vw, 397px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Ways_of_Dependency_Injection\"><\/span>Ways of Dependency Injection<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>In Angular 2, dependency injection is used through constructors<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-152\" title=\"Dependency Injection\" src=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/8-247x300.png\" alt=\"Dependency Injection\" width=\"322\" height=\"391\" srcset=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/8-247x300.png 247w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/8.png 470w\" sizes=\"auto, (max-width: 322px) 100vw, 322px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Changed_way_of_routing\"><\/span>Changed way of routing<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>In Angular 1 $routeProvider.when()\u00a0is used for routing. In Angular 2 @RouteConfig{(&#8230;}) is used for routing. \u00a0ng-view in Angular 1 is replaced as &lt;router-outlet&gt; in Angular 2.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-153 size-full\" title=\"IN Angular 1.x\" src=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/9.png\" alt=\"IN Angular 1.x\" width=\"762\" height=\"347\" srcset=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/9.png 762w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/9-300x137.png 300w\" sizes=\"auto, (max-width: 762px) 100vw, 762px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-154 size-full\" title=\"IN Angular 2.x\" src=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/10.png\" alt=\"IN Angular 2.x\" width=\"634\" height=\"492\" srcset=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/10.png 634w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/10-300x233.png 300w\" sizes=\"auto, (max-width: 634px) 100vw, 634px\" \/><\/p>\n<p><a href=\"https:\/\/www.concettolabs.com\/\" target=\"_blank\" rel=\"nofollow\"><strong><span style=\"text-decoration: underline;\">Concetto Labs<\/span><\/strong><\/a> is one of the best Web &amp; Mobile App development companies as well <b><a href=\"https:\/\/www.concettolabs.com\/angular-development\" target=\"_blank\" rel=\"nofollow\"><span style=\"text-decoration: underline;\">Angular Js Development<\/span><\/a>\u00a0<\/b>that has developed a large number of projects. Concetto Labs is the best place to\u00a0<strong><span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.concettolabs.com\/hire-angularjs-developer\" target=\"_blank\" rel=\"nofollow\">hire angular js developer<\/a><\/span>.<\/strong><\/p>\n<style>\n.blog-block-1{background:url(https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2020\/08\/app-development.png);background-position: center;background-repeat: no-repeat;background-size: cover;width:100%;margin: 0 auto;padding: 20px 60px 80px;text-align: center; }.blog-block-1 h3{font-size: 40px;color: #fff!important;line-height: 60px;text-align:center;} .blog-block-1 p{color: #fff;font-size: 20px;} a.blog-btn-1{padding:10px 30px;background: #fbbf13;color: #fff!important;font-size: 18px;border: 0;cursor: pointer; text-align:center} .blog-block-1 p{text-align:center;color:#fff!important;} <\/style>\n<p>&nbsp;<\/p>\n<div class=\"blog-block-1\">\n<h3><span class=\"ez-toc-section\" id=\"Concetto_Labs_is_one_of_the_best_Web_Mobile_App_development_companies\"><\/span>Concetto Labs is one of the best<br \/>\nWeb &amp; Mobile App development companies<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><a class=\"blog-btn-1\" href=\"https:\/\/www.concettolabs.com\/angular-development\" target=\"_blank\" rel=\"nofollow\">For More Information<\/a><\/p>\n<\/div>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_71 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/comparative-study-angular-js-1-angular-js-2\/#Angular_JS_2_has_better_mobile_acclimatization_and_excels_in_its_performance\" title=\"Angular JS 2 has better mobile acclimatization and excels in its performance.\">Angular JS 2 has better mobile acclimatization and excels in its performance.<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/comparative-study-angular-js-1-angular-js-2\/#Angular_2_offers_a_wide_range_of_language_options\" title=\"Angular 2 offers a wide range of language options\">Angular 2 offers a wide range of language options<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/comparative-study-angular-js-1-angular-js-2\/#Implementation_of_web_standards_in_Angular_2\" title=\"Implementation of web standards in Angular 2\">Implementation of web standards in Angular 2<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/comparative-study-angular-js-1-angular-js-2\/#Ease_of_setup\" title=\"Ease of setup\">Ease of setup<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/comparative-study-angular-js-1-angular-js-2\/#Gone_are_the_days_of_Angular_1x_controllers_and_scope\" title=\"Gone are the days of Angular 1.x controllers and $scope\">Gone are the days of Angular 1.x controllers and $scope<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/comparative-study-angular-js-1-angular-js-2\/#Way_to_define_local_variables\" title=\"Way to define local variables\">Way to define local variables<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/comparative-study-angular-js-1-angular-js-2\/#Change_in_structural_directives_syntax\" title=\"Change in structural directives syntax\">Change in structural directives syntax<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/comparative-study-angular-js-1-angular-js-2\/#Use_of_camelCase_syntax_for_built-in_directives\" title=\"Use of camelCase syntax for built-in directives\">Use of camelCase syntax for built-in directives<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/comparative-study-angular-js-1-angular-js-2\/#HTML_DOM_element_properties_and_events\" title=\"HTML DOM element properties and events\">HTML DOM element properties and events<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/comparative-study-angular-js-1-angular-js-2\/#Data_binding_directive_replaced\" title=\"Data binding directive replaced\">Data binding directive replaced<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/comparative-study-angular-js-1-angular-js-2\/#Two-way_data_binding\" title=\"Two-way data binding\">Two-way data binding<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/comparative-study-angular-js-1-angular-js-2\/#Bootstrapping_Angular_Application\" title=\"Bootstrapping Angular Application\">Bootstrapping Angular Application<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/comparative-study-angular-js-1-angular-js-2\/#Ways_of_Dependency_Injection\" title=\"Ways of Dependency Injection\">Ways of Dependency Injection<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/comparative-study-angular-js-1-angular-js-2\/#Changed_way_of_routing\" title=\"Changed way of routing\">Changed way of routing<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/comparative-study-angular-js-1-angular-js-2\/#Concetto_Labs_is_one_of_the_best_Web_Mobile_App_development_companies\" title=\"Concetto Labs is one of the best \nWeb &amp; Mobile App development companies\">Concetto Labs is one of the best \nWeb &amp; Mobile App development companies<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Angular JS also was known as &#8220;Angular.js&#8221; or &#8220;AngularJS 1.X&#8221; marked its birth in the year 2010, to ease out the building of complex and data-heavy web apps through JavaScript. At the time of launch Angular JS could boast of having three jewels glued to its glory: Inimitable fast code production Effortless testable piece of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":157,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[40],"tags":[37,38,39,41,42,43],"class_list":["post-144","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to-guides","tag-angularjs-development-services","tag-angularjs-mobile-app-development","tag-angularjs-web-development","tag-hire-angularjs-developer","tag-hire-angularjs-developers-in-india","tag-hire-expert-angularjs"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Comparative Study Between Angular js 1 vs Angular js 2<\/title>\n<meta name=\"description\" content=\"Angular JS also known as &#039;Angular.js&#039; or &#039;AngularJS 1.X&#039; marked its birth in 2010, to ease out building of complex &amp; data-heavy web apps through JavaScript.\" \/>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Comparative Study Between Angular js 1 vs Angular js 2\" \/>\n<meta property=\"og:description\" content=\"Angular JS also known as &#039;Angular.js&#039; or &#039;AngularJS 1.X&#039; marked its birth in 2010, to ease out building of complex &amp; data-heavy web apps through JavaScript.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/comparative-study-angular-js-1-angular-js-2\/\" \/>\n<meta property=\"og:site_name\" content=\"concettolabs\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/manish.patel.710\" \/>\n<meta property=\"article:published_time\" content=\"2017-06-26T09:43:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/rQ2T5fM.png\" \/>\n\t<meta property=\"og:image:width\" content=\"945\" \/>\n\t<meta property=\"og:image:height\" content=\"532\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Manish Patel\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/withmanish\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Manish Patel\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/comparative-study-angular-js-1-angular-js-2\/\",\"url\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/comparative-study-angular-js-1-angular-js-2\/\",\"name\":\"Comparative Study Between Angular js 1 vs Angular js 2\",\"isPartOf\":{\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/comparative-study-angular-js-1-angular-js-2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/comparative-study-angular-js-1-angular-js-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/rQ2T5fM.png\",\"datePublished\":\"2017-06-26T09:43:08+00:00\",\"dateModified\":\"2017-06-26T09:43:08+00:00\",\"author\":{\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/#\/schema\/person\/b27e0500ea2f536f7f0f5e7ab13566b9\"},\"description\":\"Angular JS also known as 'Angular.js' or 'AngularJS 1.X' marked its birth in 2010, to ease out building of complex & data-heavy web apps through JavaScript.\",\"breadcrumb\":{\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/comparative-study-angular-js-1-angular-js-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/websitelaravel.concettoprojects.com\/blog\/comparative-study-angular-js-1-angular-js-2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/comparative-study-angular-js-1-angular-js-2\/#primaryimage\",\"url\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/rQ2T5fM.png\",\"contentUrl\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/rQ2T5fM.png\",\"width\":945,\"height\":532,\"caption\":\"Angularjs 1 vs 2\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/comparative-study-angular-js-1-angular-js-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Comparative Study Between Angular js 1 and Angular js 2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/#website\",\"url\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/\",\"name\":\"concettolabs\",\"description\":\"Just another WordPress site\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/#\/schema\/person\/b27e0500ea2f536f7f0f5e7ab13566b9\",\"name\":\"Manish Patel\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2022\/03\/manish2-96x96.png\",\"contentUrl\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2022\/03\/manish2-96x96.png\",\"caption\":\"Manish Patel\"},\"description\":\"Manish Patel is a Co-Founder of Concetto Labs, a leading mobile app development company specialized in android and iOS app development. We provide a one-stop solution for all IT related services.\",\"sameAs\":[\"https:\/\/websitelaravel.concettoprojects.com\/blog\",\"https:\/\/www.facebook.com\/manish.patel.710\",\"https:\/\/in.linkedin.com\/in\/manishpatel2509\",\"https:\/\/x.com\/https:\/\/twitter.com\/withmanish\"],\"url\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/author\/manish-patel\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Comparative Study Between Angular js 1 vs Angular js 2","description":"Angular JS also known as 'Angular.js' or 'AngularJS 1.X' marked its birth in 2010, to ease out building of complex & data-heavy web apps through JavaScript.","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Comparative Study Between Angular js 1 vs Angular js 2","og_description":"Angular JS also known as 'Angular.js' or 'AngularJS 1.X' marked its birth in 2010, to ease out building of complex & data-heavy web apps through JavaScript.","og_url":"https:\/\/websitelaravel.concettoprojects.com\/blog\/comparative-study-angular-js-1-angular-js-2\/","og_site_name":"concettolabs","article_author":"https:\/\/www.facebook.com\/manish.patel.710","article_published_time":"2017-06-26T09:43:08+00:00","og_image":[{"width":945,"height":532,"url":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/rQ2T5fM.png","type":"image\/png"}],"author":"Manish Patel","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/withmanish","twitter_misc":{"Written by":"Manish Patel","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/comparative-study-angular-js-1-angular-js-2\/","url":"https:\/\/websitelaravel.concettoprojects.com\/blog\/comparative-study-angular-js-1-angular-js-2\/","name":"Comparative Study Between Angular js 1 vs Angular js 2","isPartOf":{"@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/comparative-study-angular-js-1-angular-js-2\/#primaryimage"},"image":{"@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/comparative-study-angular-js-1-angular-js-2\/#primaryimage"},"thumbnailUrl":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/rQ2T5fM.png","datePublished":"2017-06-26T09:43:08+00:00","dateModified":"2017-06-26T09:43:08+00:00","author":{"@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/#\/schema\/person\/b27e0500ea2f536f7f0f5e7ab13566b9"},"description":"Angular JS also known as 'Angular.js' or 'AngularJS 1.X' marked its birth in 2010, to ease out building of complex & data-heavy web apps through JavaScript.","breadcrumb":{"@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/comparative-study-angular-js-1-angular-js-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/websitelaravel.concettoprojects.com\/blog\/comparative-study-angular-js-1-angular-js-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/comparative-study-angular-js-1-angular-js-2\/#primaryimage","url":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/rQ2T5fM.png","contentUrl":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2017\/06\/rQ2T5fM.png","width":945,"height":532,"caption":"Angularjs 1 vs 2"},{"@type":"BreadcrumbList","@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/comparative-study-angular-js-1-angular-js-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/websitelaravel.concettoprojects.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Comparative Study Between Angular js 1 and Angular js 2"}]},{"@type":"WebSite","@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/#website","url":"https:\/\/websitelaravel.concettoprojects.com\/blog\/","name":"concettolabs","description":"Just another WordPress site","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/websitelaravel.concettoprojects.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/#\/schema\/person\/b27e0500ea2f536f7f0f5e7ab13566b9","name":"Manish Patel","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2022\/03\/manish2-96x96.png","contentUrl":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2022\/03\/manish2-96x96.png","caption":"Manish Patel"},"description":"Manish Patel is a Co-Founder of Concetto Labs, a leading mobile app development company specialized in android and iOS app development. We provide a one-stop solution for all IT related services.","sameAs":["https:\/\/websitelaravel.concettoprojects.com\/blog","https:\/\/www.facebook.com\/manish.patel.710","https:\/\/in.linkedin.com\/in\/manishpatel2509","https:\/\/x.com\/https:\/\/twitter.com\/withmanish"],"url":"https:\/\/websitelaravel.concettoprojects.com\/blog\/author\/manish-patel\/"}]}},"_links":{"self":[{"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/posts\/144","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/comments?post=144"}],"version-history":[{"count":0,"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/posts\/144\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/media\/157"}],"wp:attachment":[{"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/media?parent=144"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/categories?post=144"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/tags?post=144"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}