Modular AngularJS Generator