Ionic Title Bar color

I used Ionic android APP. When i minimize the APP, i need to customize the color of the APP title bar.

How to achieve this.

I read this below post. But where i can put the mentioned code in the below link, in my android Ionic APP,

Any one please suggest