Reorganizes angular architecture.