Require + Angular + Compound JS