added all functions to angular modules