Get statusBar height

I am using scandit to implement an application that will scan different barcodes.
And since i am using the PhoneGap version the camera will be display over the browser so i have to handle the layout in order to combine the camera with the ionic screens.

The problem is that the camera is starting from the point 0,0 (that means also with the status bar) and the ionic page is starting from 0,25px (under the status bar).

Is there a way to get the status bar height in ionic? I will need it in my typescript files.