what is the difference between angular js and angular-2/4.
The second version of AngularJS was renamed to Angular.
So, Angular is the newer, component-based framework which uses the latest web standards and some custom decorators.
AngularJS is the older framework, it’s still being used, but almost anyone still working on their AngularJS project is considering (or in the middle of) upgrading to Angular.
Angular is also known as ngx, NG2+. Just to make things really confusing.
From my (very brief) experience with Angular, is most of it TypeScript and command line, or is there more code written within a text editor?
I did a quick overview of AngularJS to see what it was like, and what I liked about it was the familiarity. Using AngularJS attributes and then using those within my app.js seemed simple. Angular seemed totally out there for me.
Angular definitely is a big step forward and might seem a bit far out, but it’s an important step in the right direction and will teach you things that are portable to other frameworks. Without going into detail, these include web components, modules, classes, ES6 (more or less), Functional Reactive Programming (FRP) and Reactive Extensions for JS (RxJS). It’s definitely worth making the move the Angular (2+).
These are basically 2 different frameworks.
I think the Angular group pissed off a lot of people with the move to Angular 2. They basically told all Angular1 devs that whatever they know about Angular 1 they should throw away and start fresh with Angular 2.
Angular 1 and Angular 2 are two completely different animals. One is a manatee sea cow, and the other is a Holstein cow. yup – The only thing the same is the “Angular” name.
Personally, I didn’t jump on Angular 2, instead I learned VueJS. If you’re coming from Angular 1, you’d find VueJS very similar and even easier and faster to develop.
My 2 cents.
Ehh, they’re not really too much different, I think. The only things that I think look/feel different is the minor setup of components/modules in them. HTML templating and controller/component.ts coding will feel very similar. Although, if you’re coming to Angular from Angular.js, the syntax can look very weird sometimes(TypeScript + RxJs). Angular 2+ comes with better documentation, an awesome CLI, RxJs support, faster performance, and will get built smaller than an Angular.js project.