Reputation: 677
I have one redhat cloud application which front-end developed in Angular.js 1.5.5, it works perfectly fine on windows desktop and android device browsers where only on ios mobile browsers chrome or safari it shows blank white page. When I put sample loading text under body tag I was able to see that but nothing rendered except loadig text. To serve static content it has Node-Hapi.js server which has just basic stuff and static folder path. Below is application url -
http://restperformance-gunjankrs.rhcloud.com/
Upvotes: 2
Views: 2200
Reputation: 829
Change code line
let myApp = angular.module('myApp', ['blockUI']);
to
var myApp = angular.module('myApp', ['blockUI']);
as 'let' is not supported in strict mode on iOS and Safari.
var myApp = angular.module('myApp', ['blockUI']);
Also change those:
var requestObj = $scope.serviceData;
var req = {
Upvotes: 1