It’s good to be back to write a full-fledged blog post after almost 1.5 years. You may be wondering where I was and what I was doing during that period. Well, nothing, it’s just that I was quite busy with my books on AngularJS 1.x. Although the first book named AngularJS UI Development by Packt has been released in October 2014 which is received quite well. For my second book, Manning Publications approached me to write a book especially on AngularJS Directives after getting impressed by The Hitchhiker’s Guide to the Directive blog post. I’m glad that lots of people found the blog post very useful but there were many things had not been covered and could be added. So I decided to take the responsibility to write this book. However, It has been cancelled recently due to the fact that Angular 1.x directives wouldn’t have a strong market any longer and spending few more months to finish it off is not worthy as there will not be enough time for marketing because of the advent of Angular 2.0. So with the consent of Manning, I’ve decided to publish all the chapters on my blog for free.
Why is that strange blog title? It’s because I’m not allowed to use any of the Manning brandings such as their “in action” verb or Cover image but I’m hopeful that they will be fine with the above title with the prefix “Tr”.
Before we jump in, let me take a pleasure to say few good things…
Packt vs Manning
I’m fortunate enough to work with two radically different publishers but great in their own way. I can only say that I really enjoyed the process with both of them and have a good analogy to prove my point on a positive note. I see Packt Publishing like a mother who supports, cares, and gives you more freedom on how and what to write about in a book. Even if you make any mistake, she would react such a way that you would not get hurt, instead, encourages you to make an improvement the best possible way. Whereas Manning Publications is like a father, still loves you as much as your mother does, but little strict for your own good. He always makes sure that the kid will not get wasted with mother’s appreciations and supports, hence, often expects more and better things. There are lots of things one could say when using mother-vs-father analogy but I’ll control myself by considering you understood my intentions. So I’ll end it with a simple statement, “you can not leave one for the other”.
Table of Content
There are good books and blog posts (including mine) are written already on AngularJS Directives but I believe Directives are the integral part of AngularJS ecosystem and will be even in Angular 2.0. So I’ll take a shot at it in my style:
- AngularJS Directives: A forerunner of Web Components
- AngularJS Fundamentals: A Crash Course
- Testing the Beast: Unit testing and E2E testing
- Building your first HTML element using the API
- Understanding Scope in Directives for better context
- Crafting directives to handle Complex Scenarios
- Bringing directives to Life
Feel free to provide feedback,
The full source code is available on Github at https://github.com/codef0rmer/angular-directives-in-traction.