Ionic change status bar color dynamically


#1

How can I change status bar colors dynamically as per state changes.


#2