Prototyping our application

Many a times, while building large client-side applications, things get a lot clearer when we start with designing our layout and views and, in general, setting up the application click flow.

We will start by using bootstrap to get our basic grid in place.

Setting up our index.html file

Let's open up our index.html file and add the Bootstrap CSS. For the sake of convenience, we will use the Simplex Bootswatch theme by adding its CDN link as follows:

<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootswatch/3.1.1/simplex/bootstrap.min.css"/>

Next, we will add the navigation bar just under the body tag or our index.html file, as shown in the following code:

 <nav class="navbar navbar-fixed navbar-inverse" role="navigation"> ...

Get AngularJS Web Application Development Blueprints 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.