Automatically add dependencies to angular modules.