text: 'use strict';
  
  // Records controller
  angular.module('records').controller('RecordsController', ['$scope', '$filter', '$stateParams', '$location', 'Authentication', 'Records',
    function ($scope, $filter, $stateParams, $location, Authentication, Records) {
      $scope.authentication = Authentication;
      $scope.user = Authentication.user;
  
      //FIXME ROLLOUT FEATURE: remove later
      $scope.usedNames = ['pandacraft','0.12.0-beta','server.community','0.12','minepro','100','poodieboy','101','talisarena','104.223.37.159','mcpe.plex','10c4','new.happycraft','121','playfactiontr','123321','realcraft','123','splatterholocaust','13skies','torchpvp','14upload','171.248.20.28','mihai','193.168.1.5','mouadox','1v1','ocelotland','1v1nation','pe.wolucky','1vs1','play-tmsnet','2.0parkour','pvpcraft','21212','rosocraft','2dgamer','skyblocktr','420yeet','super','4cousins','thecrewnet','magmarealms','ultimatecrafttr','4lifecraft','4life','matrixgames','4tactusgaminghd','megdefgt','4tawa','minecraft-romania','503server','minimine','5dlkrsala','mzg','6996','nihalcraft','6iclass','onyxcraftok','a1.battlekits','pe.district15','abc123','pjswag','abraxaspvp','play-meraki','accraft','pocketcraft','ace','prodragonslayer','acepe','ragehighschool','acexfaction','renerivs','ac-mcpe','saul','acraftbeta','shellcraft','acraftbta','smashpe','acraftbt','starwars','acraftfc','survivavalpe','acraftf','tehsever','acraft','thesvile','acraftpebeta','turbocraft','acraftpe','vanillacraft','acraftpetr','lul','acrafttr','marceli16','aditzupe','mcgthsv01','adminfr','mcvs','adminvision','mesro','admir','minecake','adventcraft','minekeykitpvp','advent','mineyork','adventure-island','moline','adv','mustangcraft','aec','nc-hub','aerosmith','nickercraft2016','afci','northmen','agaming468','omegarealms','aimanrusydan','orbitfactions','akarcraft','pascal25565','akauan','pempire','aky','pigluigi','aldoyds','playcraft567','alejandro','play.infinitypvp','alewst_','play.sevastolink','alexchoicy','plexycraftpe','alexis','pocket','alex','ppyrex','alialpsena','ptinsanitype','alialpsenasurvival','pyrexx','ali','rbc','allah','refine09','all','robbie20232','alphacraft','runewd','alphagames','scp','alphahigh','sgpe','alvz','sinatracraft','amyiahserver','skywarspe','anchor','soupland','ancient','srpvp','anddy1','sultan-331','andriassy','survival101','angrydonkey','swagpvp','anime','teambloxheadspleef','animeworld','test','ankitpocketdock','themacrossmc','anonplayz','titanorigins','anonymous','treyeangle','anteus','uga','anthrax','unitedfactions','anticraft','vietfamily','anv','luckystar','aomc','magicalcraftpe','apcpe','malaysia-empire','applecraftpe','mastercraftpe','aquastar','mc.endergames','arboine','mcpecraft','arcadepe','mcromania','arceuscraft','megacraftolo','argcraft','memo','argencraft','mhf','argmcpe','minearg','argmine','minecraft','argworld','minedox','argworlds','mineplex1','aricrafthost','mines','arimichi','minigamesbymodern158','arkkei510','mlgrepper','arrowcity','moon','arrowshot','msp','arrowshotpe','mvpepvp','artandminecraft','natcraftpe','asdasasaa','nethermine','asherscool','nexusrealms','assassincraft','niggachuandpotato','assassinpvp','ningrat','assassinpvps','nurdawam','assassinsbuild','oliszerver','assassinscraft','omgcraft','ass','opcraft','asuscraft','p121nc3','asvetpvp','paradoxuhc','atlantis-network','pcchin1219','atomicdemonic','pe.greget.craft','atozaaa','pe.survivalc','atozaa','pianomcpe.ralph','atrociousgecko7','pixelcraft','awao','platinumpe','awesomecraft','play.district15','awesomecraft.pe','play.genesys','awesomefactioncraft','play.master','awesomemcpe','play.pinoyep','awesomemine','play.survival','awshumcraft','play.xtreme','awshumcraftpe','pmserver','awsomeeric15','pocketgames','awsome','pokecraft','axartcraftbeta','potatorhd','axefury','prisond','axicsnetwork','prologuepe','b123y','pushed-to-insanity','baconcraft','pvp.pandorianetwork','bacterianetwork','quiniboy','b.a.g.m.t','ramlynserver','bails','rbcrbc','banana','reborncraft','banboss','regcraft','bandit','richardn','bannercraft','roflcraft-pe','barnie','rpa1','batikcraft','sadewanet','batikcraftnet','scc','batikcraftnetwork','seecraft','batikcraftserver','setcraftpe','batikminecraft','shadowninja','batikmine','sickbubblegum','batik-minenetwork','skull','batikmineserver','sky','battermanroleplay','slayrealms','battlecraft','snakecraft','battlecraftpe','sparks','battle','spvp','battlepe','stargames','battlepix','stl','bboy','supercat','bcmcpe','surbug','bcpe','survival.play_ftw','bcte','survivor','bdmcpe','tabarzlandia','beargames','tca-pe','beastagar','teampublic-minigame','beastcraft','test2','beasthub','the2dgamer','beastpe','thehyrimfaxi','bedrock','therebellion','bedwars','thunder','bed.warstr','tonyofbuscus','bedwarstr','tpex','bejglipe','trolololo','benalga','turtlecraft','benjamenytdead','ukitpe','benm8','unchartedcraft','ben','upekitpvp','bestever','vernscraft','bestgaming','vigladios','bestkitpvp','bestserver','luckyworlds','bet2','m14yt','beta1-awsome','magicuhc','beta1','majorcraftpe','beta2','mapasmineropz','betafreebuild','mario','betakingcraft','matacraft','beta.mb','mcbffs','beta','mc.fishking','betaonyxcraft','mcorgins','betatester','mcpemaster','beta.thecloudpvp','mcpetwi','bet','mcsurvivalsquad','bffcraft','medievalproject','bggames','megaoctets','bhmcpe','melban','biedro','meraklioyuncu','bigbang','mexico','bigrock','micholex','bill','millersdraw','billy100','mineboom','billy','minecave','bilo','minecraftpetr','bilopocket','minecrafttestyou','bl3achcraft','mineflex','blackhell','minepe','blackhellxd','mineplex-pe','blackhole','minerprison','blackserver','minetox','blackzerohub','minezoneuk','blackzero','minigm','blackzeronet','miraclecraft','bladepvp','modlikedaboss','bladeraidmc','monstape','blaneplooster2','most','blaze826','mrcrainerfan101arymahi','blaze','multicraft','blazeofcoliseum','mvpefac','blazingnetwork','mystic','bleachpvp','namanh','blitzmc','nb-waterrealm','blitzsg','nethercraft','bln','neversettle','blockbuilders','nexusbeta2','blockcraft','nfg','blockland','nickercraft','blocklife','nightmarewarz','blockly','nikimcpeserver','blockpixel','nitelight','blueab','nsn','bluebloodwoop','nzombiespeplay','bluecraft','ogmmcpe','bluecraftpe','omegaempires','bluepowerhost','omerseval','bluewood','one','blueycraft','onyxoculus','blu','opkitpvp','bmcpecraft','ortakserver','bnmsn','palkiabeta','bob','pantnzserver','bonecraft','pars','bonniegirl_night','paul','boomcraft','peargames','boomcube','pe-evo','boop','pemapmodder','boruto','pe.redstoneclub','bosscraft','peti','bosscraftserver','phcl','bouncer.irc.jojoe77777','pigcraft27','boy_world','pinoyteam','brando','pixelnom','brandon','plasmaball','brantrain','play4funvn','bravocraft','play-cubednetwork','brawl','play-evcrnet','bread_craft','play.gangsterev','breadcraft','playhydra','bread-craft_network','play.ksg','breadcraft.network','play','breadcraftnetwork','play.mineplex','brenner','play.rage','bri92a','play.stl','brinepe','play.thearchonpe','bromo-craft','play.vllvcraft','bromo','play.zombietech','brotherscaft','plus','brotherscraft','pockedit','brothers','pocketdurchgespielt','brsky','pockethub','brutal-factions','pocketredstream','brutalfactions','pokemygamer','bsc','potatocraft','bsp','powerupdev','btgaming','primetech','btg','privategangsters','btm','projectela','btn','prueba','btr','pureretrovernsdaycraft','bubble','pvp3','bubbleship','pvp','budinocraft','pvpsurvival','budinocraftpe','qendrim','budino','radusimihai','buhc','rainboandsno','buildcraftita','raphael','buildcraft','rbc','building-art','rdc','buildingcraft','rebellion','building','red','build','refine4','buildthething','rektcraftftw','buildtime','revengecraft','bukkit','rizki404','bunchofziegs','rocker','buse','romania','bwtest','royal-empire','bxm','ruler','bynedcraft','ryan','c0sm0s','sampvpsuckhere','caio','sbspe','caitlin','scoreland','caitthegreat','sealcraft','cake','serve','caktuspotato','serverpro','caliburger','sfactions','calrizer','shadowluck2029','cameron2','shawygamernetwork','cameroncraft','shopsys','cameronftw','silvercraftpe','cammshost','s_jjsll','canadacraft','skybite','candland','skyhigh','candy','skyslayer','candyz','slayer','captaindpolphins','slimecraft','capuchinx','smkdds','capuchinx','sos','carcraftpvp','spacecraftita','casualgamers','spencergavin','casual','spoilercraft','catcraft','srbija','caveman','starcrafting','caway','starry','cazzoduro','stella','cchong_dada','straightcurlyfries','cc-pe','sunroxsmp','ccpe','supergaming','celestia','supersuv','cfs','surrealcraft','cfvn','survivalcrafts','cfx','survival.romania-server','cgickenderp','survivecraft','ch4vez','sw1','chainsilverfactions','swordcraft','chanon','tacocraft','chaoticpe','tamunoakasi','charmanderpvp','te1','chat','teamnight','checker567432','teamrisk','checkmate','tespek','cheese','testing','cheezycheeze','tests','cherry_kung','thebestever','cherub','thefactor00','chevy4lyfe','thejive','chicken21','theminecraftlegends','chickencraft','thesprout','chickenderp','thinkbluez','chilliyt','tiger','chill','tomplaykids','chillybones','topocraft','chosennetworkpe','towerscraft','chromegladiator','trc','chucho','trkcraft','ciaonecraft','trservidor','cit2','turkis','citycraft','tymcraft','citycrafttr','uhces','city-nc','ulticrafttr','citypvp','ultracraftpe','clanpvp','unicraftpe','clanpvz','universalcraft','clanrys','uprisingpe','clashroyale','veckland','class8g','vernunity','clinkzpe','viewgame','cloudpvp','vinecraft','cloudpvp.red','luckystar','cmt','luckystarvn','cokenation','lucyiparis','coleader','luxcraftpe','colombia','maffiacraft','coloniespe','magicpe','colosseum','magmacraft','colt05','majorcraftpe','combowpe','makisxprogr','comicpe','mammta','compiscraft','maplecraft','conceptsserver','marcolicksbigbooty','conflictfactions','marowan','conflicthub','masterplayers','conflictpsn','matcraft','conflictpvp2','mayo','conflictpvp','mccity','connorcreationsco','mcfinest','controlledprisoncp','mc.gregetcraft-network','cookipe','mci-mpez','coolcraft','mcpecomde','coolcraftpe','mcpe-host','coolcraftt','mcpe','cooldudegaming','mcpeserverpvp','coolkid212','mcreative','coolness','mcscraft','coolpeeps','mcvngaming','coolwarspvp','mcx','coop','megacraft','coronaserver','megalixer','coronaserver','megaservepvp','cosmiccraft','mehrdadd12','cosmic','melbanpe','cosmicpe','meracraft','cosmocraft','mesedpe','coukipe','metalstorm','cownugget','mg1','cowscraft','mianitepocketedition','cpenetwork','microkyrr','crafted','mikilandia','craftedz','miminecraft','craftgames','mineblox','craftify_mc','mineboxbeta','crafting-fantasia','minecapepe','craftingfantasia','minecraftfactionskitpvp','craftingmarko','minecraft-pe4816','craftlandia','minecraftplay','craftmc','minecraftromaniaserver','craft','minedex','craft.pokecraft','minedoxpvp','craftroyal','minegm','craftserver','minekey','craftworld','mineplay','crapexcraft','mineplex','crapexfactions','mineplexpe','crater','minerealmspe','craypexcraft','mineshaftersro','craypexfactions','minetech','crazedcraft','mineverse','crazy99','minezone','crazycraft2.0','minifire','crazycraft','minigames','crazycrafttr','minijuegos','crazycraftyt','minipe','crazype','mkds','create','modern158','createplot','mohaworld','creative','mongcai','creativeserver','monstercraft','creeg','mortalpex','creepcraft','motionness','creepercraft3','mpvp','creepercraft','mrnserver','creeperdna','mtpsurvival','creeperman8311','multiplex','creeper','mustang','creepersurvival','mvpefcts','creepypasta','mysticfacs','cre','mythcraft','crend','nagcraft','criscraft','namthebest','crissw','nature','cristalix','nc-city','criticalpe','nelson','cronver','nether-games','crossfire','net','crossfirepvp','newcraft','crossfireuhc','new.happycraft','crossfirev2','nexusboat','crushnetwork','nexx','crystalcraft','niceduckling13','cs.new','nickercrafthpbt','csonlinepc','nicker-server','ctalbot2004','nightcraft','ctf19','nightraid','cubecraft','niiworld','cubednetwork','nik','cubedplay','ninjago','cubedplays','no1','cubepeforums','nrdwm','cubeplay','nuclearrealms','cubeworld','nzmcpe','cubogamer','oceanic','custom','officialnetwork','cuz','ohan','cyancraft','olympus','cyanuniverse','omegaprison','cyber-craft','omerancraft','cybertest','omgcraft_ita','cyrope','oneklicklp','czechcraft','online','czpe','onyxhotel','dabfaction','op-craft','dafishking','opcraftprison','dafocitos','opprison','dahyun','origingametr','daipl','ostrov','daizy_7','pain','damat-mcpe','palkianetwork','dancemoms','pandaservermcpe','dancemomsxmascity','paradox','dangerouzland','parecraft','danielle','party','dantdmmcpe','paulgamer1023','daproz','pbg','darkclawassassin','pcnet','darkcraftmcpe','pecraft','darkcraft','peepzcraft','darkcyber','pe.fortunecraft','darkfaction','pe.heavennetwork','darkflam3','pemineplex','darkflame','pe-picoworld','darkflamepvp','persian','darkgamespe','pe.survival','darkk','pevarcraft','darklegends','pg-officialserver','darkmatterpe','phoenixmc','dark','pidie-craft','darknessroleplay','pigcraft','darkofpe','piland','darkpvpcraft','pita','darkpvp','pixelgirl_th','darkpvp','pixelwolfpvp','darkreakmspe','pk14','darkrealms','plasma_negwork','darkuhc','play4fun','darkydt','play.blocksonfire','darky','play-cs','darkys','play.cyber','darkysv','play.enderdragongames','darkyy','play.extremecraft','darsh','play.fortunecraft','darwin','play-gcnet','dashable','play-gregetcraft','dashednetwork','play-indocraft','dashoyt','play.knightkingdompe','dawnflash','play.lbsg','dboyiscool','play','dcfactions','play.mcsadewanet','dcpefactions','playmike','dcpe','play-nkrinet','dcraft','play.pvpsurvival','deadly','play-rinetwork','deaf','play.snet','deanarica','play.stronghold','dearborn','playtech','deathcraftmc','play-titaniumpe','deathcraft','play.valleparaiso','deathcraftpe','play.winpecraft','deathdance-craft','play.zedomaster','declan','plexcraft','decommc','plotme','dedjunk','pmmp','deed','pmtools','deedpvp','pocketboxpe','deliveryman','pocketcraft','deltagames2','pocketfac','deltagames','pockethb','deltasmp','pocketmafia','deluxepe','pocketnetwork','delxcraft','pocketvillage','deminecrafterlol','pokemonjpups','demoncraft2','poketrolls','demoncraft','potatobox','demons','potato','demskillz','potionstest','denemexd','ppe','denisromaniaserver','prankuhc','denizgabi','prisoncraft','dennis','prison','derad','pro1111.darksoulcraft','derpy','prohosthing','descendant','projecttest','destroyer31222','prospixel','devardo','ptiforums','devcraft','pubcraft','devcraftpe','purgepvp','deviantmc','pvp1','deviant','pvp5','deviantpvp','pvplithuania','dev-powerup','pvp','devpowerup','pvppon','dgnlserver','pyerx','dhimas','qazrealms','diamonddave','queengals','diamonddemonz','radek160','diamond','ragecraft','diamondnetwork','ragnalol','diamondred','rainbow','diamondscube','randomcraft','diamondshine','ratatatman','diamondsquad','rbc','diamondwarrioz','rbc','diamon','rc-pkt','dianet','reactionpe','dieablo','realmmine','dieablos','rebellionpvp','digitalgameproduction','rebornn','dinamitpe','redwoodterracescreatives','diredawolf','refine2','distantfactions','refine','district15','reg','district17','relish','districtserver','retrovernsday','djkai','revolutionhub','djmcraft','risingfactions','djthejag','roarmc','dkg','roblox1gam3er','dlcoffical','rocketpe','dmdnet','roleplay','dmeg','rommel','dnw','rotzbouf','dobo00','royalftw','dodvip123','rpg','dogehigh','rumbencraft','dogetech','rwc','dolcecraft','saad','dominusuhc','sadewanetwork','domonie','sanecraft','doraemon','sb-server','dorian_hyde92','scalarious','doza','scitalia','doze','scpe','dps','scraft','dpssurvival','sean','dpvp','semihomer','draconicblood','server.beta','dragonc4','serverjuan','dragoncraftmcpe','servertest','dragoncraft','sevastolink','dragoncraftpe','sg-blitzmc','dragoncraft-server','shadowboy','dragonexxpro','shadowmars','dragonlecraft1','shaduuw','dragonlecraft','sheephd','dragon_nogard','shi','dragonpe','showtime','dragonsrule','siege','dreamernetwork','simple','dreamnetwork','sinfulpe','dreamteam','skinmark','dreamville','skuraxmcpe','dreamworld','skyblocksplayer','drixitcraft','skycraft','drkill','skylight','drpe','skyplotorigins','drugster','skywars','druhc','slayerf','dumof','slayhub','durchgespielt','sleepcrafter','dustgame','smallcraft','dxc1','smdnet','dxc','smppe','dylansixx','solartic','earthtomars','soulcraftnetwork','eastpack','spacecraftitalia','eclipseopprison','spamspamtest','ecocraft','speedcraft','ecpe','spiderkid1624334','ecpe','spleef','ecraft','spt-core','editionpvp','squid','eemu2005','srfacs','eemu','stablecraft','efacs','starcraft','efra1in16','starkiller2301','efrain','starsnetwork','efsane','stealthcraft','ehpe','stiffy2000','e-hub','stormxnetwork','ekitpvp','stronghold','ekits','summercraft','electifiedcomplex','superblock','electrichub','supercraftro','electrichubpemc','superkraft','electrichubpe','superrealms','electricnetwork','supremepe','electricraft','surfbuzzy','electrifiedcomplex','survicraft','elementcorepe','survivalcoop','elenacutie','survival','eligiju07','survivalpvp','elitecraft','survivalrpg','elitecraftpe','survivecraft','elitegamezpe','survive','elite','svc','eliteopsurvival','swaggycraft','elitesmp1','swirlpix','elmeri','system','elof','tacklebuilds','elsphetelf','taconetworkpe','elvis03','talisworld','elvis','tar','elyga','tcg_deadshot','em14','te2','emb','teamforward','emcepei','teampublic-games','emecrib','teampublicminigames','emeraldcraft','teenagen','emeraldcraftnetwork','tem','emeraldgames','test1234','emeraldgamespe','teste','emici_gamers','testingserver','eminem','testserver1','emma','tgaming','enchantashiyaterraces','thealtar','enchantedarmyea','thecool','endcraft','thedevnet','enderanimate','thegamers','enderapfelserver','thejack','enderboxie','thekarmalis2','ender-craft','themc','endercraft','theobr','endercraftpe','thesilverhand','enderdragongames','thesuperserverita','_enderdragongirl','thevisionpe','ender-games','thugcraft','endergames','ticzillserver','enderman','titancraftparty','endermcn-bt','tocadaraposa','endermcn','tonton','ender','topkiller','ender_storm','topoland','enderville','totobata','enderworld','townype','enderxtreme','tpg','end','trelixprison','enpotradores','trinityedge','epiccrafttr','trkcrafttr','epickitty','tr-servidor','epicmc','tsmp','epicm','turkeypvp','epicraftpe','turk','epicvernscraft','twentyonepilots','equaliedpe','ucr','equalizedpe','ugp','ersilions','uhc','esiliocraft','ulticraft','esuhc','ultimatecraft','eternalcraft','ultimateserver','eternalcraftpe','ultraserver','eternalpe','underwolrdpvp','eternitycraft','unikcraft','eti92-1c','unitype','eti921c','universalrealms','eti92','uprisingfactions','eu.mineplex','vain','eunion','varcraft','eurogamerie','venomous-network','everlast','vernsday100abos','everlastnet','vichito','everlastpe','vietnamcraft','evilcraft','viewgames','evocrnet','vina','0.11.0-beta','viperzpe','evolusiongc','evolvy-x','luckype','evo','luckystar','evosmp.sb','luckystarvn6','excalibur','luckyworld','exkitpvp','luckywor','exohub','luka','exploprison','luna','exposedpe','luxuryserver','exprison','maceracraft','extra','mafia_factions','extremecraft','magiccraft','extremeindocraft','magicpvp','extremesurvivors','magmacraftgames','eycraft','magma','eytan','majorcraft','ezp','majorcraftpe','fabyan','majorfactions','facescapepvp','makrofighterhd','factionball','malaysiaku','factioncraft','maomc','factioncraftpe','mapaspromcpe','factionking','marblecraft','factionlifelol','marcocraft2','faction','marcosjacker','factionpro','marouane','factionquest','marshmalosodapop','factionraids','masterpixelars','factionserver','mastersofmc','factionskitpvp','matcraft94','factionsmcpe','matixz','factions','mav','factions.play_alpha','mcacademy','factionspro','mc-city','factionspvp','mce404','factions-romania','mcfactions','factionsurvival','mcfinset','factionsurvivalpe','mcgfx','factionuniverse','mcgth','faketheserver','mchubpe','fancy','mcland','fantasia-craft','mcp22e','fantasiacraft','mcpecrafter','fantasia','mcpecraft','fantastia','mcpemaster21','fantastic-craft','mcpe','fantastic','mcpepiruleta','fantasygaming','mcpe-server','fantasyita','mcpetools','fantasyitape','mcpe.vn','fantasyit','mcrid-play','fantasy','mc.sby-craft','farros12','mcsnet','fartedfaction','mctb-server','farted','mcvpvp','fartedpe','mcw10','fatalpe','medieval','faxon','meepmop','fazerain','megacraftolino','fbp74games','megagoldrealms','fbp74','mega','fcavn','megapvp','febbos','megaserver','felipeplayzyt','mehmetcraft','ffg','meinneger','ffs','melbanpc','ffsuhc','melvin','filipev','menacecraft','finalkingscraft','meraki','fireball','merry','fireblades','mesrocz','firecity','messamine','firecityz','mexican.crafting','firecrafter','mexiplex','firecrafterpe','mgth','firecraft','mianitepe','firecraftpe','michael','firegamer','mickey','firegamesbr','micro','firegames','mike','firegamest','millenium','fireland','mimecub','fire','mincraft503','firerealms','minebeach','firsttry','mineboatpe','fishkingmc','minebote','fishking','minecade','five503','minecape','fix_mix','minecart','flame_guardian','minecity','flamezcraft','minecraftfactions','flamzpvpfac','minecraftonline','flamzpvpfaction','minecraftpenl','flamzpvpfaction','minecraftpeturkey','flamzpvpfactions','minecraft.roleplay','flamzteampvpfactions','minecraftromania','flarepe','minecraftsurvivalpro','flateface','minedaav','flatland','minedog','flatlandpe','minedoxprison','floatcraft','minefishmc','fmlvietnam','minegaming','fnafcraft','minehex','fnaps','minekeykitspvp','fnfy','mine','fnfy','mineplayers','fnfysv','mineplayz','focus','mineplexconcept','forevernation','mineplex','formeandrose','mineplex.pe','fortunecraft','mineplexpe','foxmerry','minerealms','fphigh','miner','framed101','minerrev','freakcraft','mineslashpe','freakgames','minestudy','freebuild1','minetime','freebuild','mineturk','freecraft','minewar','freedomhighschool','minezonemcpe','freedomhs','minezonepe','freedommcpe','minicraft','freedom','minigamehub','freeschool','minigames','frenks_channel_','minigamespe','freshgaming','minigodz','friendlcraft','mini','friendlycraft','mining','friends','min','frostbite','mirmircow','frostblue','mlgproscott','frost-faction','modedwarfare','frostfaction','modern','frostfaction','modoland','frostfactions','mohmadgamer15','frostfactionspe','momo','frostfactionz','monsta','frostf','monstercraft','frosthighnetwork','monster','frostland','moonsun','frostpe','mortib20','frostpvp','motion','frostwiregaming','mouad','frostyfactions','mppserv','frozenrealmsmc','mr2007creeper','fsm-vn','mrnoob98','ftb','mrsessions','fuca','mtch','fuckk','muiehenning','fuckyouguys','multiparkour','funcraft','mundomcpe','funcraft','mustangcraft','funlandia','mu-vn','funland','mvpefct','fun','mvpe','funpocketmine','mycraft','furiouscraft','mysticfactions','furious','mysvpt','fury','mzcpe','futurecraft','n0i','gabboworld','namanh123','gabi21','nammines','gabiboy21','naruto97','gabiboy','nateservers','galactic','nature','galacticuniverse','ncbh-craft','galactynet','nc-craft','galaxycraft','neck','galaxy','netcraftpe','gallifrey','nethercube1','game1.play','netheria','game-craft','nethernetwork','gamecube','netnetz','gameexperten_server','neversettle','gameexpertenserver','new.happycraft','game','new.happycraft','game_pedia','newhub','game-pedia','nexusbeta','gamepedia','nexus','gamercraft','nexusspawnalpha','gamer','nfcorp','gamers12','nibblefactionz','games','nickercraft1st','games-nether','nickercraft-city','gamesse','nicker-craft','gamingcrafterz','nickercraft-server','gamingcraft','niezamworld','gamingcraftpe','nigga','gamingcrafttr','nightingale','gamingirl','night','gamingtimexd','nightsmp','gapplecraft-factions','nihalcraftpe','garbearcraft','nikimcpe','gazefactions','nikkocraft','gazemc','ninerscraft','gcpe','ninjacraftpl','gcraft','nitacraft','gcspe','nkrinet','geee','noexcuzes','geek','noteblock','geek','nsn','geilocraft.party.de','nuclearfaction','geilocraft-youtuber','nuifan','gelomark25','nycuro','generation','nzombiespe','geneti-craft','oceancraft','geneticraft','ocelotcraft','geneti-high','official','germanycraft','officialsam203','getdirty','ogm','getrekt','olimpocraftmcpe1','ggo','olympusgods','ggtx','omari','ggtxpe','omegaprison22','ghast','omegapvp','ghastnation','omegaworld','ghastnationpe','omer','giapponesecraft','omgcraftita1','gielen','omgcraftita','giochiamo2','oneandonlyblue','giovannipower','oneloc','gkaz','oneup','global','onyxcraft','global_minecraft','onyxcrafttr','global-minecraft','onyxmc','global-mncrft','ooo','gloriousminecraftpe','opcraft','glossblack','opcraftprision','glsg','opkiller','glsg-mpez','op_','gobelincraft','orangepvp','godfaction','origingame','god','orpe','godz1','oscar287','godzcraft','otthon','godzgames','p2xa1','godz','paintboll','godzpvp','palkiagames','godzpvps','palkiaserver','golden.apple','pandalover','goldenbros','pandorianetwork','goldencraft','papa','goldencreate','paradox_uhc','golden','paradoxuhcpe','golden-realms','parkourchallenge','goldiumpe','partycraft','goldplaygames','partynation','golsphere','pastel','goodserver','paulgamercraft','goodwork','paulvernhardt','grade6gk2016','pcb','granados133','pcchin','gravelordservants','peaceoutnationyt','gravityfrontier','pe.craftlandia','greywood','pe.d12reborn','grim4vote','pedro','grimcraftaz','pe-evolvy','grim_craft','pe.evo','grimcraft','pe.greget-craft','grimkiller','pe.gregetcraft-network','grim','pe.lucky','grim.vote','pe.mineplex','grim.vote','pem','ground','penprison','gsphere','pe.play-vol','gta5','pe.refine','gta','pe.sc-indo','gugubr','pe.survivalcraft','gulock01','peter_world','gummynetwork','pe.varcraft','gustabr','pe.wol','gustavo1','pe.y11craft','gustavobr','pgpe','guys','phoenixcraft','hackervietnamese','pianomcpe','hackink','piano.real.server','hackinkyt','pigcraft1','hades','pigcraftita','hahahahah','pigcraftpe','haiku','pigluigipe','hakkkuh','pinoyako','halbparty','piratecrew','halbpartysrv','pixelarmy','hamson2','pixelgirl','hamsonmc','pixelhive','hamson','pixelparkour','hamsonpe','pixicraftpe','handiman','pk13','hans','pkpvp','happycraft','plasmacraft','happycreative','plasmape','happyfamily','play4fun','happyfuncraft','play4fun','happype','play-accraft','happypocketedition','play.carplex','happyunicornland','playcraft','hardcore','play.cs','hardguard','play.cybercraft','hardpvp','playcy','hargun7kamcord','play.district15.new','harmony','player01','harraya','play.evcrnet','harsh','play.extremeindocraft','hartawan','play-fortunecraft','hasanefefb','play.ftwzone','hassbach','play-garuda','haulp','play-genesys','haup','play.goldenrealms','hcraft','play-herocraft','hdg','play.ignl','hearthy','play.indoskuat','hellocraft','play.knightkingdom','hello','play-ksg','hentai','play.lavabucketpe','hermitcraftpe','playmafia','herobrine','play.mazerunner','herocraft','play','herocra','play.mcperp','heroes','play.meracraft','heroespe','play-mhf','hero','play.minedoxpvp','hexfactions','play.mttpe','hexiacraft','play.obsidianisles','heyimjanftw','play.purgepvp','hhpvp','play-pw','hhpvpnetwork','play-rinet','hhpvppe','play.sadewamine','hiep.bm','play.sliceprision','hifels','play.starcraft','high.network','play.stormpe','hii','play-summonwars','hillcraft','playsw','hippvp','play.thearchon','hi_spanish','play-thearcon','hivemine','play.titaniumpe','hknbnm','playuhc','hlbuild','play-varcraft','hlpvp','play.wcvn','hlsv','play-wlc','holacraft','play.yeetcraftpe','hola','play.zombiecraft','holycube','pl.breadcraft','holycubepe','plexcraftpe','holycubepes1','plotit','homeofpvp','plots','hoppp','plya.rinetwork','horizoncraft','pmplay4fun','horo','pms','horust','pockecraft','hosecraft','pocketbox','host.ciep21','pocketcrafter','host.imperios','pocketcraft','hosting','pocketcraftpe','host','pocketempire','host.slicemcpe9','pocketgamesfac','host.sliceprision2','pocketgamespvp','host.sliceprision','pockethub','hostwolfhostwolf','pocketlife','host.xlymcpe','pocketmasters','hpemc','pocket-mine','hpe','pocketpixel','hpocketedition','pocketserver','hpvp','poisoncraft','htw.soup','pokefactions','hubcraft','pokemon','hucau','poketroll','hueworld','polarcraft','hulkdoesgaming','porcodio','humanhore','potatocakt','hungerbox','potatocrate','hungergames','potatopvp','hydra','potatorhd','hydranetwork','powerstrike','hypecraftpe','powup','hypercraft','p.pocketempire','hypernet','prankpvp','hypertic3','primefusionpe','hypertic','principial','hypixel','prisondelux','hyptic','prisonmcpe','hypticpvp','prison.pocketempire','hysg','prixpe','hytr','pro1111','ibitserver','progius','ibn','prohosting','ibnpro','projectpokepe','ibradleys','prokitpv','iceblade','proserver','icebladepvp','prueba24','icebreak','pspvping','icecraftmc','pti-hub','icecraftpe','pt-network','icy','punchappsgames','idenesiaku','puresurvival','idn','purple','idolcraft','pvbattle','idolfr','pvp2','idrisouane','pvp4','iepuras','pvpandgames','iflow','pvpgodz','ignet','pvpmaster','ignlbeta','pvp','ihappyxjoyce','pvp','ihubnet','pvppers','ihubpvp','pvp-survivaland','iiikutiii','pvpwkit','ijoyce_','pyrex','ikitpvp','pyxelgamespe','ilcyber','qazrealms','ilifemcpe','qoo','ilife','queensnow1924','ilifepe','qwertx','ilovemc','radictesters','ilovemcpe','ragecharge','ilovenn','ragehighpe','imc','ragezonepe','immortalcraftfactions','rails','immortalcraft','rainbowcraft','immortal','rainbowprison','imperialpe','rampage','in-adventure','randomcraftpe','incurrent','rasim','incurrentpe','razal','ind-network','rbc','indocity','rbc','indocrafter','rbc','indocraft','rbc','indoi','rcpe','indo','rdcfac','indoneocraft','reactionfacs','indonesia','ready5','indonesiancraft','realm','indonesian','rebellion','indonetworkgame','rebellion-pvp','indo-network','rebellionpvp-us','indonetworks','rebornfactions','indoskuat','redbbow','infernope','redstoneclub','infinite-kitpvp','redwoodterraces','infinite','refine1','infinityblock','refine3','infinitycraftdxd','refine-dlc','infinity_craft','refinetotoso','infinitycraft','register','infinitygamers','rekk','infinity','rektpe','infinitype','renee','infinitypvp','republikofminecraftyc','infnet','retrovernte','info','rev','inicraft','rezmect','in-pocket','rise','inpocket','riyansaputra','insanenetwerk2','rj0495','insanenetwerk','roarpe','insanenetwork','robin','insanenetwork','roboticraft','insanenetwork.mp','rocketminerspe','insanenetwork.v2.0','rocketsbloc','insanenetwork.v2','rohan','instantsnetwork','rollercoaster','intensepvp','romaniasmechera','ipe','rose','irancraft','rotraining','ircbouncer','rowisnap','ireallylikepie','royal_ftw','ironcraft','royalpe','ironcraftpe','rpg.lc','ironhive','rubby','ironsidehub','rumbencraft','irpe','rumcraft','islandsurvivor','rwc1','isro','rwe','italiccraft','ryguy','itanetwork','sadewamine','itaspacecraft','sadewanetsrv','it_e','saitek','itsfunttoplay','sandcraft','itsriolu','sanquintin','itzyourgirlashh','sbsb4sh','iujkeku','sbs','ivandroiid','sbtv','ivan','scbb','ivanoski','schneider-craft','ivanserver','sc.lc','ivoievods','scorpia','izzat','scpe','izzy','scraft','j331yelectro218','screeper_hdg','j331yelectro21','sealer','jaccraft','sebasblack','jacielovejoy','semi_girl','jackins','senpiegod','jackinsnetwork','server1','jack','serverbeta','jacknetwork','serverhyeok','jacobadam27','server','jacraft','serverro','jailzero','setcraft','jakeserver','setcraftp','jakeycraft','sexcraft','jakkandmaxdistructogaming','sg101.dms','jakkandmaxgaming','sgc','jakobs','shadercraft','jamhs','shadowcraftsb','jansen','shadowmars','japandaisuki','shadow','jasal','shadowsnowstorm','jasonwynn10','shapedbuilding','javacraft','sheep_hd','jazz','sheep','jbg_craft','shidz','jbg-craft','shockwave','jbgcraft','shoupvp','jcarter','shreklikesonions','jcraft','sidit2','jebiamyt','silentpe','jebiga','silverworld','jellyserver','simplyvanilla','jermanozcraft','sinful','jessie_101','sirtigerboy','jetz','skincontest','jfish2000','skullcraft','jfish','skully','jgamer3353','skybh','jgj_kitpvp','skyblock','jgj','skyblocktr','jgj_mg','skycorn','jgj_psn','skyfrostcraft','jivecraft','skylife','jmms','sky','jockeycraft','skynote','joelcedrascool','skypvppe','joelserver1','skywarsit','joemckellar2014','skywars','joeycraft','slander','johan','slayerf','johanrd','slayer','johnbulliner','slaypvp','johnnydays','slcraft','joinnow','slicewars','jojoe77777','slimeelite','jojoe','smanisda','jollys','smashplay2013','jombang-craft','smeltpe','jordan','smp','jose','snail','jowseyserver','sobcraftmcpe','jscrafttemp','sorencraft','jsmith','soulcraft','juanfromthesouth','soulcraftpe','juan','sp1','julmemfel','spacecraftitaly','jungsun','spacecraft','junkworld','sparkscraft','just4fun','sparky','justforfun','spe','justin','spid3rnation','just-play','spita','justpvp','sp-lbsg','jvi','splittcraft','jwhitecraft','sp-pk','jwo','sptcore','k98','squad.rossome','kaicraft','squidstin','kaikai','srfac','kaipowerup','sriscraft','kairus','ss-smp','kakka','stackhouse','kamilga9','starcraftmc','kanomania','starcraftpe','katmc','stargamingnetwork','kattfur','star','kattfur','starserver','katya','starterraces','kayaserver','stcraft','kble','stealthryche','kdc-faction','stevecraft','kdc-factions','stiffy','kdc.factions','stormpe','kdotdev','story','keanugames1111','stromnet','keepcalmlife','sukitpvp','kejucraft','sumar','kentikzlo','summoncraft','kevin','supe','kewl','superbro12','kforkolin','supercraft','kgnetwork','supergamers','kgpe-kitpvp','superhub','kgpe','superlg','killercraft','supermegacraftolo','killer_frost','superserver','killzone33','supreme','kingame','surabaya-craft','kingcraft','surfbuzz','kingcraftpe','surgepvp','kingdomgames','surrealsmp','kingdomganie','survi','kingdomganieserver','survivalassault','kingdompe','survivalcraft','kingdomscraft','survivall','kingerfaction','survivalpe','kingerfaction','survivalpocket','kingfactions','survivalromania','kingoflife','survivalro','kingscraft','survival.takabrycheri','kingscraftpe','survivecrafr','kingscraftpvp','survivecraft','kinguhc','survivecraft','kinsmencraft','survivorcraft','kirape','svbm','kirito','svile','kitattack','sw2','kitdown','swagpvpe','kit','swirl','kit','swn','kitpe','swpe','kitpe','t1091','kitpropvp','tabarzland','kitpvp','taco-craft1','kitpvp','tacocraftpe','kitpvp','taisempai','kiwicraft','taliscraft','kiwi','talisworlds','kju','tancraft','kkdroidpe','tca-craft','knightkingdom','tcc','knightsolaire','tcp_batman','knocksg','te1-merakinetwork','knox','teambloxheadsleef','korado','teamcraft','kris','team-herobrine-test','krushcraftpe','teampublicfc','krushpesurvival','teampublic.mini1','krustycraft','teampublic-minigames','kryptonitecraft','teampublicprison','ksg','teamvol','ksg-sg1','teentitans','kubixqcraft','tekserver','kydzfactions','templex','kyruemserver','test101','lachydachy3214','test1','lagrima','testcraft','lavaarmy2','testing1','lavabucketfactions','testingserver1','lavabucketmcpe','test','lavabucket','test','lavabucketpe','testserver','lavabucketsurvival','tfsfactions','lavacraft','thatstrangekid','lb-lobby','thealex','lblood','thebeastatthis','lbsg','thebest','lbsh','thecrew','lbss','thecubedpe','lb-sw','thedevnetwork','lcalbi','thefifth','lcmcpe','theglobal','lcraftv2','theindomc','ldxcraft','thejivehub','ldx','thekarmali','leaf','thekingcraft','leben','themccraft','lechugapvp','the','leeeepvp','theo-br','leeepvp','theo','leek','therighttree','leepvp','thesky','leer','thesuperserverita1','leet.cc','thesuperserver','legacypvp','thevisionmg','legacyuhc','thevoidnetwork','legendaryelites','thronepvp','legendbeast','thundercraft','legend-craft','thundersmp','legendcraft','tigermc','legendcraftpe','timelord','legendelitecraft','titaniumprison','legendmc','tmcecraft2','legend','tog','legend.pvp','tomplay','legendpvp','tony','legendspe','toontownreborn','legen','top','legionfac','topoland2bitches','legionfactions','topoysubs','legion-pe','toreoncl','legionpe','tower','legionpvp','towers','legoboy0215','toxic-network','legoboy','tpexz','legocraft','transfercraft','legomine','treblecrxft','legospleef','trexhost','lel2','trinitycraft','lelefera2','trinitypvp','lelefera','trkcraftt','lel','trolcraft','lelnetwork','trombonecat459','lemon','tr-servidor','leons','truth','leroy','tsundere_world','letsplaymcpe','turkcraft','letsplay','turki','lgb','turkiye','lgc','turkpvp','libertycraft','turtle','lichcraftpe','twokinds','lifeboat-sg','ucraft','life','ufob2','lifemine','ugm','lifepixle','uhcb','lightningminers','uhchub','lil','ukitpe','limeymc','ulimately','linkcraft','ulticraftt','linkuhc','ultimatecraft','lionblood','ultimatecraftpe','littleinjection','ultimatemc','litva','ultracraft','lksvn','ultrahc','lmaoidk','ultraturk','lobby','undercot','lobbyw','unicornland','lobogris','unikcraft','localhost','uniteddevs','lolcraft','unitedpe','lolerswinlife','unitypvp','lolerswin','universalpvp','loll','unpe','lol','uprisingfac','lol','uprising','lolol','us.mineplex','loloma','valcraft','looot','van.sw','lordofmaiden','vcbeta','lorecraft','venom','lore','venompvp','lospambisitos0111','vernscraft-network','lostteam','vernsday100','lotacraft','veziklsurvival','louismartin','vicraft','lovecraft','viet','lovercitylife','vietnamese','lp2016','view-games','lpmitmortib20','views.games','lshk','vigycraft','lsvn','vincentw99','luckycraft','vinw99','luckymc','virtualpe','lucky'];
      $scope.warningShown = false;
      //
  
      // Create new Record
      $scope.create = function (isValid, force) {
        $scope.error = null;
        //FIXME ^ same
        if(!$scope.warningShown && $scope.usedNames.indexOf(this.name) > -1){
          $scope.warningShown = true;
        }
        //
        if (!isValid) {
          $scope.$broadcast('show-errors-check-validity', 'recordForm');
  
          return false;
        }
  
        // Create new Record object
        var record = new Records({
          name: this.name,
          content: this.content,
          recordType: this.recordType
        });
  
        // Redirect after save
        record.$save(function (response) {
          $location.path('records/' + response._id);
  
          // Clear form fields
          $scope.title = '';
          $scope.content = '';
        }, function (errorResponse) {
          $scope.error = errorResponse.data.message;
        });
      };
  
      // Remove existing Record
      $scope.remove = function (record) {
        if (record) {
          record.$remove();
  
          for (var i in $scope.records) {
            if ($scope.records[i] === record) {
              $scope.records.splice(i, 1);
            }
          }
        } else {
          $scope.record.$remove(function () {
            $location.path('records');
          });
        }
      };
  
      // Update existing Record
      $scope.update = function (isValid) {
        $scope.error = null;
  
        if (!isValid) {
          $scope.$broadcast('show-errors-check-validity', 'recordForm');
  
          return false;
        }
  
        var record = $scope.record;
  
        record.$update(function () {
          $location.path('records/' + record._id);
        }, function (errorResponse) {
          $scope.error = errorResponse.data.message;
        });
      };
  
      $scope.mine = function () {
        Records.mine(function (data) {
          $scope.records = data;
          $scope.buildPager();
        });
      };
  
      // Find a list of Records
      $scope.find = function () {
        Records.query(function (data) {
          $scope.records = data;
          $scope.buildPager();
        });
      };
      $scope.buildPager = function () {
        $scope.pagedItems = [];
        $scope.itemsPerPage = 15;
        $scope.currentPage = 1;
        $scope.figureOutItemsToDisplay();
      };
  
      $scope.figureOutItemsToDisplay = function () {
        $scope.filteredItems = $filter('filter')($scope.records, {
          $: $scope.search
        });
        $scope.filterLength = $scope.filteredItems.length;
        var begin = (($scope.currentPage - 1) * $scope.itemsPerPage);
        var end = begin + $scope.itemsPerPage;
        $scope.pagedItems = $scope.filteredItems.slice(begin, end);
      };
  
      $scope.pageChanged = function () {
        $scope.figureOutItemsToDisplay();
      };
  
      // Find existing Record
      $scope.findOne = function () {
        $scope.record = Records.get({
          recordId: $stateParams.recordId
        });
      };
    }
  ]);
  