Need advice about which tool to choose?Ask the StackShare community!

Angular 2

4.4K
3.4K
+ 1
410
AngularJS

42K
29.7K
+ 1
5.3K
Add tool

Angular 2 vs AngularJS: What are the differences?

What is Angular 2? One framework. Mobile & desktop. Angular is a development platform for building mobile and desktop web applications.

What is AngularJS? Superheroic JavaScript MVW Framework. AngularJS lets you write client-side web applications as if you had a smarter browser. It lets you use good old HTML (or HAML, Jade and friends!) as your template language and lets you extend HTML鈥檚 syntax to express your application鈥檚 components clearly and succinctly. It automatically synchronizes data from your UI (view) with your JavaScript objects (model) through 2-way data binding.

Angular 2 and AngularJS belong to "Javascript MVC Frameworks" category of the tech stack.

"It's a powerful framework" is the primary reason why developers consider Angular 2 over the competitors, whereas "Quick to develop" was stated as the key factor in picking AngularJS.

Angular 2 and AngularJS are both open source tools. It seems that AngularJS with 59.6K GitHub stars and 28.9K forks on GitHub has more adoption than Angular 2 with 49.5K GitHub stars and 13.5K GitHub forks.

According to the StackShare community, AngularJS has a broader approval, being mentioned in 2799 company stacks & 1860 developers stacks; compared to Angular 2, which is listed in 259 company stacks and 237 developer stacks.

Advice on Angular 2 and AngularJS
Needs advice
on
Vue.js
React
and
AngularJS

What is the best MVC stack to build mobile-friendly, light-weight, and fast single-page application with Spring Boot as back-end (Java)? Is Bootstrap still required to front-end layer these days?

The idea is to host on-premise initially with the potential to move to the cloud. Which combo would have minimal developer ramp-up time and low long-term maintenance costs (BAU support)?

See more
Replies (3)
Carolyne Stopa
Full Stack Developer at Contabilizei | 9 upvotes 路 159.9K views
Recommends
Vue.js

React might be a good option if you're considering a mobile app for the future, because of react native. Although, Vue.js has the easiest learning curve and offers a better developer ramp-up time. Vue.js is great to build SPAs, very clean and organized and you won't have a lot of long-term maintenance problems (like AngularJS, for example). Bootstrap can still be used, but with flexbox there's no need anymore.

See more
Chaitanya Chunduri
Recommends
React

I recommend React because of less memory occupant compare to Angular, but this will depend on your organisation flexibility. When you use React you need to import different libraries as per your need. On the other side angular is a complete framework.

Performance-wise I vote for react js as it loads up quickly and lighter on the mobile. You can make good PWA with SSR as well.

See more
Recommends
React

If you are new to all three react will be a good choice considering, react-native will be useful if you want to build cross platform mobile application today or tomorrow. If you are talking about bootstrap styling framework than it's a choice you can style ur components by ur self or use bootstrap 4.0 framework. The complete stack mentioned above is platform agnostic u can run it anywhere you want be it cloud or on-premise.

See more
View all (3)
Decisions about Angular 2 and AngularJS

We choose React for our client-side implementation because of React's virtual DOM implementation and component rendering optimization. It can help our app to be more stable and easier to debug. Also, react has strong support from the dev community. There is an enormous amount of reacting libraries we could use, which will speed up our development process.

See more
neha menahil

Have you ever stuck with the question that which one is the best front-end framework for you?

With continuous web development progress, the trends of the latest front-end technologies are also continuously changing with more and more sophisticated web features. These top front-end frameworks and libraries have made your complex web tasks more flexible and efficient.

Check out top front end frameworks and their features at https://www.nmtechedge.com/2020/09/24/top-4-trending-front-end-frameworks-2020/

See more
Peter Schmalfeldt
Senior Software Engineer | 5 upvotes 路 39.1K views

I honestly think the best choice for which framework you use should come down to your team's skills. If you have one Senior Dev that is great at React, but like 3-4 mid-level devs, and a handful of junior devs that know Vue.js ... maybe look at using Vue.js a little more seriously.

Yes, there are pros and cons to framework decisions, but I honestly see a LOT of teams not even consider whether a specific framework is a good fit.

See more
Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Angular 2
Pros of AngularJS
  • 93
    It's a powerful framework
  • 47
    Straight-forward architecture
  • 39
    Great UI and Business Logic separation
  • 38
    TypeScript
  • 37
    Powerful, maintainable, fast
  • 33
    Amazing CLI
  • 30
    Great mvc
  • 22
    Powerfull Dependency Injection
  • 17
    Easy to build
  • 13
    Opinionated, batteries-included approach
  • 9
    All in one Framework
  • 7
    Solid Standard Setup.
  • 7
    Schematics
  • 6
    Structured
  • 5
    Performance
  • 3
    Only for single page applications
  • 3
    Complex
  • 1
    Builders
  • 0
    React
  • 886
    Quick to develop
  • 587
    Great mvc
  • 571
    Powerful
  • 522
    Restful
  • 504
    Backed by google
  • 349
    Two-way data binding
  • 344
    Javascript
  • 328
    Open source
  • 306
    Dependency injection
  • 198
    Readable
  • 76
    Fast
  • 65
    Directives
  • 64
    Great community
  • 57
    Free
  • 39
    Extend html vocabulary
  • 30
    Components
  • 26
    Easy to test
  • 25
    Easy to learn
  • 24
    Easy to templates
  • 24
    Great documentation
  • 22
    Easy to start
  • 18
    Awesome
  • 18
    Light weight
  • 15
    Angular 2.0
  • 15
    Javascript mvw framework
  • 14
    Great extensions
  • 14
    Efficient
  • 11
    Easy to prototype with
  • 9
    High performance
  • 9
    Coffeescript
  • 8
    Mvc
  • 8
    Two-way binding
  • 8
    Lots of community modules
  • 7
    Easy to e2e
  • 7
    Clean and keeps code readable
  • 6
    One of the best frameworks
  • 6
    Easy for small applications
  • 5
    Works great with jquery
  • 5
    Fast development
  • 3
    Hierarchical Data Structure
  • 3
    The two-way Data Binding is awesome
  • 3
    Community
  • 3
    Typescript
  • 3
    Declarative programming
  • 3
    I do not touch DOM
  • 3
    Be a developer, not a plumber.
  • 3
    Dart
  • 2
    Fkin awesome
  • 2
    Scopes
  • 2
    The powerful of binding, routing and controlling routes
  • 2
    Opinionated in the right areas
  • 2
    Supports api , easy development
  • 2
    Common Place
  • 2
    Amazing community support
  • 2
    Great
  • 2
    Very very useful and fast framework for development
  • 2
    Readable code
  • 2
    Programming fun again
  • 2
    Linear learning curve
  • 1
    Bot Ionescu
  • 1
    Acoperi葯ul 0757604335
  • 1
    Js
  • 1
    Google.com
  • 1
    Angular js
  • 1
    Http葯//Acoperi葯ul 0757604335
  • 1
    Shvzjn

Sign up to add or upvote prosMake informed product decisions

Cons of Angular 2
Cons of AngularJS
  • 8
    Large overhead in file size and initialization time
  • 8
    Overcomplicated
  • 2
    Ugly code
  • 2
    Cringe
  • 2
    CLI not open to other test and linting tools
  • 10
    Complex
  • 3
    Dependency injection
  • 2
    Learning Curve
  • 2
    Event Listener Overload
  • 1
    Hard to learn

Sign up to add or upvote consMake informed product decisions

What is Angular 2?

It is a TypeScript-based open-source web application framework. It is a development platform for building mobile and desktop web applications.

What is AngularJS?

AngularJS lets you write client-side web applications as if you had a smarter browser. It lets you use good old HTML (or HAML, Jade and friends!) as your template language and lets you extend HTML鈥檚 syntax to express your application鈥檚 components clearly and succinctly. It automatically synchronizes data from your UI (view) with your JavaScript objects (model) through 2-way data binding.

Need advice about which tool to choose?Ask the StackShare community!

What companies use Angular 2?
What companies use AngularJS?
See which teams inside your own company are using Angular 2 or AngularJS.
Sign up for Private StackShareLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Angular 2?
What tools integrate with AngularJS?

Sign up to get full access to all the tool integrationsMake informed product decisions

Blog Posts

+12
5
3248
Oct 11 2019 at 2:36PM

LogRocket

+8
5
1511
+22
17
13225
+26
19
4561
Jun 19 2015 at 6:37AM

ReadMe.io

+25
11
1528
What are some alternatives to Angular 2 and AngularJS?
React
Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
Polymer
Polymer is a new type of library for the web, designed to leverage the existing browser infrastructure to provide the encapsulation and extendability currently only available in JS libraries. Polymer is based on a set of future technologies, including Shadow DOM, Custom Elements and Model Driven Views. Currently these technologies are implemented as polyfills or shims, but as browsers adopt these features natively, the platform code that drives Polymer evacipates, leaving only the value-adds.
Aurelia
Aurelia is a next generation JavaScript client framework that leverages simple conventions to empower your creativity.
Vue.js
It is a library for building interactive web interfaces. It provides data-reactive components with a simple and flexible API.
Meteor
A Meteor application is a mix of JavaScript that runs inside a client web browser, JavaScript that runs on the Meteor server inside a Node.js container, and all the supporting HTML fragments, CSS rules, and static assets.
See all alternatives
How developers use Angular 2 and AngularJS
shridhardalavi uses
AngularJS

AngularJS is a structural framework for dynamic web apps. With AngularJS, designers can use HTML as the template language and it allows for the extension of HTML's syntax to convey the application's components effortlessly. Angular makes much of the code you would otherwise have to write completely redundant. We can use Angular to build any kind of app, taking advantage of features like: Two-way binding, templating, RESTful api handling, modularization, AJAX handling, dependency injection, etc

CloudRepo uses
Angular 2

The Angular 2 CLI is great, it's easy to get up and running with a project.

The really great thing about Angular 2 is it allows us to work with designers by augmenting their artifacts (html pages) with Angular directives. This allows our designs to go back and forth between designers and engineers without having to learn a new markup language (like JSX).

Kalibrr uses
AngularJS

All of our frontend code is on AngularJS. Directives, controllers, and services really help in organizing code in order to keep things maintainable, and two-way binding makes data input easy. The large ecosystem of modules for directives is fantastic, too.

Nikola Novakovic uses
AngularJS

When ever I need heavy user client side apps this is my tool of choice. There are a ton of JS frameworks out there, picked this one because of philosophy they are trying to put out there and great community. Two way data binding FTW!

Yaakov Gesher uses
AngularJS

The front end was built on an Angular template supplied by the client. We leveraged Angular's flexibility and speed to delivered complex matrices of data quickly and with great finesse.

InJoin uses
AngularJS

We use Angular.js to build our front-end framework known as Frontkit, so our apps can get started faster with reliable, interactive components.

Andrew Miller uses
Angular 2

Angular 2 is a great framework for C# developers. Deeply rooted in OOP & MVC principles and full integration with TypeScript. My go-to for client-side dev now...

Pascal Malbranche uses
Angular 2

Angular 2 is a beautiful and fast MVC Framework. We are using it for mobile, web and desktop development.

Daniel Kovacs uses
Angular 2

Webapp frontend development in enterprise projects.

Harba uses
Angular 2

Frontend for administrative dashboard.