Angular (web framework): Difference between revisions

Content deleted Content added
WikiCleanerBot (talk | contribs)
m v2.05b - Bot T20 CW#61 - Fix errors for CW project (Reference before punctuation)
Line 23:
 
[[File:Architecture of an Angular 2 application.png|thumb|right|upright=1.5|Architecture of an Angular application, services, and dependency injection]]
Google designed Angular as a ground-up rewrite of AngularJS. Unlike AngularJS, Angular does not have a concept of "scope" or controllers; instead, it uses a hierarchy of components as its primary architectural characteristic.<ref>{{cite web|url=https://angular.io/guide/architecture|title=Angular Docs|website=angular.io}}</ref> Angular has a different expression syntax, focusing on <code>"[ ]"</code> for [[Property (programming)|property]] binding, and <code>"( )"</code> for [[Event (computing)|event]] binding.<ref>{{cite web |url=https://gorrion.io/blog/angularjs-vs-angular/ |title= What's the difference between AngularJS and Angular? |date=September 19, 2017 |website= gorrion.io |access-date=2018-01-28}}</ref>. Angular recommends the use of [[Microsoft]]'s [[TypeScript]] language, which introduces features such as [[static typing]], [[Generic programming|generics]], and [[type annotation]]s.
== Features ==
=== Component-Based Architecture ===