Showing Blank White Screen

My issue was, I was using a template literal ( ` ) for a multiline string (which is supported from ES6 and above).

My app worked fine in the browser and in some phones but gave the WSOD (White Screen of Death) in others.

For example, it worked fine in Samsung Galaxy S3, but got a WSOD in Note 2.

So, I changed the following -

var test = `<div class="modal">Test
 <i class="ion-icon"></i>
</div>`;

to the following

var test = '<div class="modal">Test' +
'<i class="ion-icon"></i>' +
'</div>';

It worked like a charm afterwards!

Also, make sure JSLint is happy. If you haven’t added JSLint to your project before, you can follow this - Integrate jshint in ionic starter project