Integrating AngularJS in the frontend

We are using AngularJS as a frontend framework. AngularJS became a sensation right after its release. Recently, Google - the maintainer of the AngularJS project, announced Angular 2.0 with TypeScript - a static parsing language built on top of JavaScript.

In this chapter, we will use Angular v1.5, which is widely used and stable. For styling, we are going to use the Material design concept built again by Google. To use both of them, we first need to install it. There are four ways to do so:

  • Install via Bower
  • Install via NPM
  • Install via Yarn
  • Install manually

I am a big fan of Bower due to its simplicity and ease of use. However, you can use any approach to install Angular.

First we need to install Bower. Run the following ...

Get Mastering RethinkDB now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.