Rules to Better Angular

Angular is everywhere.

There are two distinctive versions of Angular:

  • AngularJS, this is v1, not getting any new features, and ends LTS support at the end of 2021
  • Angular (or Angular 2+) which represents any version of Angular after 2.0 (which was a major rewrite).

This page is a set of rules and guidelines to get you up and running using Angular with the least pain possible.

Want to build an Angular application? Check SSW's Angular Consulting page.


A lot of these rules have originated from the Angular Superpowers Tour.

Angular and React have been the 2 dominant front-end technologies for the last few years. We have been running our Angular Superpowers course that entire time, and it is still amazing that every time we run the course, we sell out.

Of course, we update the course with every version, but it's still amazing because JavaScript frameworks have a reputation for being transitory. But these 2 frameworks have become entrenched in enterprises everywhere.

  1. There are many frameworks available for building web applications, with developers often choosing their favorite tools. Some people like React, some prefer Vue, and many choose Angular.

  2. Here are the best collection of resources for Angular.

    Figure: Download (link below) the Little Book of Angular

  3. If you want to get started with Angular, go to the Angular Setup guide.

    The prerequisites are:

    1. Node.js and NPM (installed with Node.Js by default)

    The best practice for creating an Angular project and components is to use the Angular CLI (command-line interface).

    The Angular CLI is also used in the latest .NET Angular SPA template. Read Do you know that the ASP.NET Core SPA Template for Angular uses the Angular CLI?

  4. When developing Angular or React, there are lots of choices for code editors. The best experience by far is to use Visual Studio Code.

  5. Angular.io is a great place to get started learning Angular, and since the Angular CLI is now an official Angular project, these docs now include using the CLI from the beginning.

  6. For .NET Developers only!

    For many Angular solutions, a good practice is to keep your client-side and server-side code in separate projects.

    • You get a clear separation of concerns
    • You usually expect your server-side stack to outlive your client-side technologies
    • You may plan to use your WebAPI with multiple user interfaces such as mobile or bots
    • Easier to deploy your angular app to a CDN
  7. Typescript is the best choice when writing Angular and React applications. Angular is even written in Typescript itself!

  8. Before starting a software project and evaluating a new technology, it is important to know what the best practices are. The easiest way to get up and running is by looking at a sample application. Below is a list of sample applications that we’ve curated and given our seal of approval.

  9. Building, bundling and compiling Angular applications can get complicated. You need great build tools.

  10. The main contenders for the best UI framework for Angular are:

    Making the choice of which to use will depend on several factors related to your project:

    1. The look and feel of the site that your client is seeking
    2. The range of components that will be required in the application
    3. The developers' familiarity with the framework
    4. The designers' familiarity with theming in the framework
per page
1 - 10 of 26 items
We open source.Loving SSW Rules? Star us on GitHub. Star