Taming D3 with AngularJS

photo by a4gpa, via flicker D3 is awesome. If you haven’t perused the D3 gallery before, have a look and prepare to nerd-out on some incredibly cool data visualizations. Here’s a simple graph built with D3. We’ve split up and reformatted the source for clarity, but otherwise this example was copied verbatim from the D3 examples. The markup is reasonable. […]

Read more


The ins and outs of AngularJS accessors

photo by deanhochman, via flicker Accessors are methods used to get and set the value of an object’s private data. The advantages to using accessors are well documented: future-proofing, behaviour encapsulation, and so on. Aside from these general merits, there are (at least) two Angular-specific arguments for accessor use. Why Part 1: Template Headaches If you read our post on […]

Read more


Attaining partial zen with AngularJS

AngularJS offers a number of patterns for using partial templates but it’s not always obvious which one to use. Here we will discuss some of those approaches and introduce a simple directive that you can use in one common situation. Problem: At ModernAdvisor we build a lot of long forms with repeated sets of fields. We want to DRY up […]

Read more