Angular Input And Output Functions