converting rating component to use @Ng* instead of map