Halfway through conversion from ng directive to general js module