Book Image

Data Oriented Development with Angularjs

Book Image

Data Oriented Development with Angularjs

Overview of this book

Table of Contents (17 chapters)
Data-oriented Development with AngularJS
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Firebase anonymous authentication


Anonymous authentication is the simplest form of authentication that Firebase supports. It generates a unique identifier for each user as long as their session lasts. The advantage of this approach is that the users don't have to share their personal information. We are going to use this technique in our next example application. We'll use the same problem domain that we discussed in Chapter 4, Firebase, and improve our code which we wrote in Chapter 5, Getting Started with AngularFire, because the earlier example didn't create any directives. We'll be using the recently released AngularFire 1.0.0 library.

The index.html page (as usual) refers to various JS libraries, and the following is the only interesting piece of code:

<div class="container">
    <div ng-include="'menu/menu.tpl.html'"></div>

    <div ng-view=""></div>

    <div class="footer">
      <p><span class="glyphicon glyphicon-heart"></span&gt...