$cordovaStatusBar returning undefined


I have been trying for many hours to try to style my status bar to no avail. I have used StatusBar and $cordovaStatusBar, neither of which have worked.

I have tried each of these:

.controller('ChooseCtrl', function($scope, $cordovaStatusBar) {
ionic.Platform.ready(function($cordovaStatusBar) {


    ionic.Platform.ready(function() {
    // changes the status bar using the StatusBar plugin


does not work on Android


I am testing in the iOS simulator.


The name of the var is $cordovaStatusbar - mind the capital “B” - this is wrong in some official docs.