Unit testing controllers with controllerAs syntax
Moving non-controller stuff out of tasklistController and into the tasklist directive. Unit testing directives