allow winodw open calls through angular controller (for cordova builds)