refactoring angular modules, canvas working