Book Image

AngularJS Web Application Development Blueprints

By : Vinci J Rufus
Book Image

AngularJS Web Application Development Blueprints

By: Vinci J Rufus

Overview of this book

If you are a web application developer interested in using AngularJS for a real-life project, then this book is for you. As a prerequisite, knowledge of JavaScript and HTML is expected, and a working knowledge of AngularJS is preferred.
Table of Contents (12 chapters)
11
Index

Adding some CSS styles


Now would be a good time to focus on some design and styling for our application. We'll use Bootstrap and a ready-to-use theme from BootSwatch to style our application quickly. For this example, we'll use the SpaceLab theme. Let's load this theme from www.bootstrapcdn.com.

Please open the index.html file and make the necessary changes as highlighted in the following code:

<!doctype html>
<html lang="en" ng-app="myApp">

<head>
    <meta charset="utf-8">
    <title>Friend's Birthday Reminder</title>

    <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootswatch/3.0.3/spacelab/bootstrap.min.css" />
    <link rel="stylesheet" href="css/app.css" />
</head>

<body>
    <div class="container">
        <div id="fb-root"></div>
        <div ng-view></div>

    </div>
    <script src="lib/angular/angular.js"></script>
    <script src="lib/angular/angular-route...