Gjermund Bjaanes


A blog about Innovation and Technology

Angular Controller Communication using Delegates

NOTE: This article is using $scope, but can easily be changed to use controllerAs syntax and bindToController instead. Please do.

I recently found the need for two controllers to communicate a lot more than normal events would easily enable. I needed one controller to ask another for information, without them being too strongly coupled (because nobody likes that).


Picks of the month – April 2015

Welcome to Picks of the month, where I share a few things I have found useful the last month.

It can be anything from blog posts and software tools to books and techniques.


Angular and jQuery load order matters!

While trying to load a jQuery library called zTree into a directive, I came over this weird error:

jqLite#on() does not support the `selector` or `eventData` parameters

How I use Evernote

This blog post covers some of the ways I leverage Evernote to get more organized.


Keep your life (and code) clutter-free

This may be a personal opinion, but I believe that in order to keep your life running smoothly, it needs to be as free from clutter as possible. Clutter, in any form, is something that causes chaos and disorder.

Every ‘thing’ that surrounds us take some portion of our attention. Every ‘thing’ demands attention.