3 ms·
AngularJS is just a pile of magic strings that work or don't. Looking at you: $scope, '@' '=' Angular2+ on the other hand, just install the language service a
by knallfrosch 3y ago
AngularJS is just a pile of magic strings that work or don't.
Looking at you: $scope, '@' '='
Angular2+ on the other hand, just install the language service and it will enable type checks for stuff like *ngFor even in the template (HTML) files.
It will suggest person .name, and if you do person.namee (typo), it will show up as error immediately. That's not far off from TypeScript.