angular: added controllers into a module, add error visibility