Angular homeworks implementation