Simplify module registration
Update for Angular 1.3