Deep dive into Angular.js directives
Deep dive into Angular.js directives
Free!
Minimum
$3.00
Suggested
Deep dive into Angular.js directives

Last updated on 2015-05-07

About the Book

BOOK IS NOW FREE. IT IS A BIT OUTDATED (1.4.X) AND DOESN'T COME WITH NEW COMPONENTS. IT IS STILL AN AWESOME WAY TO LEARNING DIRECTIVES THO. ENJOY IT.

Are you an Angular.js developer who wishes to learn more about directives? You came to the right place. You just need to know the basic pieces of Angular.js. Here I explain directives from zero.

Directive is what makes Angular the best Javascript framework out there, but it is also the most complicated concept of it. Directives are complex, there are infinite use cases for them and you can easily find yourself deep into different options, and not being sure of which one you need to apply to succeed.

So if directives seemed magical to you and you need to learn how they work to be able to create your own, this is the book you want.

In this book, you will learn:

  • How directives are built.
  • How to use all the different options on the directive definition object.
  • How to apply some tips and tricks to make your directives more flexible.
  • How to combine our directives with ng-model to create outstanding directives.
  • How to create custom validations for our use case.
  • How to wrap jQuery plugins into directives.

And much more!

The book comes with an introduction to Javascript unit testing as well as Angular unit testing.

All the examples of the books contains unit tests, all those tests are fully explained and you can try both working and test versions on Plunker.

About the Author

Jesús Rodríguez Rodríguez
Jesús Rodríguez Rodríguez

Jesús Rodríguez Rodríguez is a frontend developer who dedicates his time to moderate the official Angular.js IRC channel and he also gives support there.

He spent some time collaborating with organization like AngularUI and he also write in his blog (http://www.angular-tips.com) all about angular.

He also likes to edit / review books, that also includes writing his own books.

The Leanpub Unconditional, No Risk, 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 and publishers use Leanpub to publish amazing in-progress and completed ebooks, just like this one. You can use Leanpub to write, publish and sell your book 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