AngularJs vs EmberJs
AngularJs vs EmberJs
Minimum price
Suggested price
AngularJs vs EmberJs

Last updated on 2016-01-19

About the Book

AngularJs vs EmberJs is a guide that helps you to decide whether you should choose AngularJs or EmberJs to develop your web application with.

The reader will be brought through a detailed comparison of each of the features these frame works offer: Models, Views, Templates, Controllers, Routing, and Components.

The pros and cons of the approaches offered by each of these frameworks, and the results that they have on development are highlighted.

The online edition of this book is available at

The PDF, ePub, and Mobi editions of this book are available at Leanpub.

If you liked this book, and wish to support it, please purchase a copy on Leanpub. 10% of proceeds are donated to the Electronic Frontier Foundation. The online edition of this book is free, and will always remain free.

About the Author

Brendan Graetz
Brendan Graetz

Hi, I'm Brendan Graetz. You can find me on Twitter

... and on Github

... and on LinkedIn

I also blog at, where you can check out my other writing.

Table of Contents

  • AngularJs vs EmberJs
    • The back story
    • Editions
    • Author
  • Criteria
    • Why criteria are necessary
    • What the criteria are
    • A note on fairness and polarisation
    • Questions
  • The MVC pattern
    • A brief history of single-page applications
    • MVC in single-page application frameworks
    • Discussion
  • Models
    • Models in AngularJs
    • Sync’ing AngularJs Models
    • Models in EmberJs
    • Sync’ing EmberJs Models
    • How this might change with ES6
    • Discussion
  • Views and Templates
    • Templates
      • Similarities
    • Views
    • Views in AngularJs
    • Views in EmberJs
    • Templates in AngularJs
      • Syntax
    • Templates in EmberJs
      • Syntax
      • Pros and Cons
    • Considerations for Designers
    • Additional Libraries
    • Discussion
  • Controllers
    • Controllers in AngularJs
    • Two-way binding in AngularJs
      • View to Model
      • Model to View
      • Behind the Scenes
    • Controllers in EmberJs
    • Two-way binding in EmberJs
    • Imperative versus Declarative Binding
      • Imperative versus Declarative Syntax in Two-way Binding
      • Imperative versus Declarative Syntax in Controllers
    • Discussion
  • Routing
    • URLs in Single-Page Applications
      • Hash Fragments
      • History API
    • Routing and State Machines
      • Finite State
      • Hierarchical State
      • Managing Transitions and Demarcation
    • Data Retrieval: Callbacks and Promises
      • Callbacks
      • Promises
      • Discussion
    • Routing in AngularJs
    • Finite State Machine in AngularJs’ Router
      • Workarounds
    • Routing in EmberJs
    • Convention over Configuration in EmberJs
    • Hierarchical State Machine in EmberJs’ Router
    • Routes in EmberJs
    • Discussion
      • Complexity
      • Opinionation
  • Components
    • Components in AngularJs
      • restrict in AngularJs Directives
      • transclude
      • Isolate scope
    • Components in EmberJs
    • Discussion
  • Round Up
    • Fin
    • Editions
    • Author

Causes Supported

Electronic Frontier Foundation

Defending your civil liberties in a digital world.

Based in San Francisco, EFF is a donor-supported membership organization working to protect fundamental rights regardless of technology.

From the Internet to the iPod, technologies are transforming our society and empowering us as speakers, citizens, creators, and consumers. When our freedoms in the networked world come under attack, the Electronic Frontier Foundation (EFF) is the first line of defense. EFF broke new ground when it was founded in 1990—well before the Internet was on most people's radar—and continues to confront cutting-edge issues defending free speech, privacy, innovation, and consumer rights today. From the beginning, EFF has championed the public interest in every critical battle affecting digital rights.

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms...

Write and Publish on Leanpub

Authors, publishers and universities use Leanpub to publish amazing in-progress and completed books and courses, just like this one. You can use Leanpub to write, publish and sell your book or course as well! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub