angular scripts reorganized to modules