Example For Input And Output In Angular