@tlvince, I tried angular.isUndefined() and for some reason unknown to me it didn't work, so I rolled mine which worked flawlessly. I'll remove it, since I've removed the line it was used.