Angular Input And Output Functions Math