e
// Znaci link ti mora izgledati "https://halycon.tv/public/" + $rootScope.channel_owner + "/?fullscreen=true"
// i onda procitas parametar iz url-a na sljedeci nacin:
// var fullscreen = getParameterByName('fullscreen');
// if (fullscreen)
// show_fullscreen()
function getParameterByName(name) {
name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");
var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
results = regex.exec(location.search);
return results == null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
}