analysisModule.controller('OtherCountriesController',['$scope','$filter','$log','$translate','$http','SweetAlert','apiConfig',function($scope,$filter,$log,$translate,$http,SweetAlert,apiConfig){'use strict';functioninit(){$http.get('/tableau/otherCountries',apiConfig.createVat()).success(function(res){if(res&&0===res.code){varplaceholderDiv=document.getElementById('vizContainer');varurl=res.data;varoptions={onFirstInteractive:function(){// The viz is now ready and can be safely used.console.log("Run this code when the viz has finished loading.");}};try{newtableau.Viz(placeholderDiv,url,options);}catch(e){}}else{SweetAlert.error($translate.instant('SystemError'));}});}init();(functioninitialize(){})();}]);