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

Chapter 5. Facebook Friends' Birthday Reminder App

It's time to build our very own Facebook Friends' Birthday Reminder app folks!

In the previous chapter, we saw how to consume a REST web service and display the data that we received from a web service using a factory. We learned about promises and why they are important while making asynchronous calls via factories.

Building on this, we will now see how to build an app that will consume Facebook's open graph, Application Programming Interface (API), to display your friends' upcoming birthdays.

We will also be learning about AngularJS directives, and build our very first directive to implement Facebook's authentication.

Before you proceed, make sure you are comfortable with the following features of AngularJS:

  • Routes
  • Controllers and Partials
  • The concept of promise

You are also going to need to have a Facebook account with some friends in it who have agreed to share information with your app