angular null check in template

PHP
gettype ( mixed $var ) : string
var myVar=null;

if(myVar === null){
    //I am null;
}

if (typeof myVar === 'undefined'){
    //myVar is undefined
}
is_null($foo)
Source

Also in PHP: