How to change the color of a badge in an Ionic/AngularJS list?

I have an Ionic/AngularJS app with a list component and I need to change the color of the badge to something other than the options provided.

I tried using CSS and creating a class but it modifies the background of the whole list item, which is not what I want. I only want to modify the background of the badge but I can't make it work. Could you tell me how to do this?

1 person has
this question