ionic status bar color

JavaScript
//in config.xml

...
<preference name="StatusBarBackgroundColor" value="#2873ED" />
<preference name="StatusBarOverlaysWebView" value="true" />
...
Source

Also in JavaScript: