AngularJS: Difference between revisions
From Leo's Notes
This page was last edited on 15 June 2020, at 00:04.
Created page with " == Version 2 == AngularJS 2 is a complete rewrite of AngularJS version 1. There are dramatic changes from the first version stemming mostly from a new way to organize apps. N..." |
m Added category |
||
| Line 11: | Line 11: | ||
=== See Also === | === See Also === | ||
* https://www.lynda.com/Angular-tutorials/Learning-AngularJS-2/572160-2.html | * https://www.lynda.com/Angular-tutorials/Learning-AngularJS-2/572160-2.html | ||
{{Navbox Web}}[[Category:WebApp]] | |||
Latest revision as of 00:04, 15 June 2020
Version 2
AngularJS 2 is a complete rewrite of AngularJS version 1. There are dramatic changes from the first version stemming mostly from a new way to organize apps. Notable changes are:
- It's written in TypeScript. This requires the code to be 'compiled' to normal javascript and typically requires node/npm tools along with the typescript converter (see https://www.typescriptlang.org/docs/handbook/tsconfig-json.html)
- It's using components and the new templating system that comes with TypeScript so $scope and controller are no longer used
Libraries are imported as part of a AngularJS 2 app can be found at https://angular.io/api
An Angular project is a combination of modules put together
See Also
| ||||||