the operator '==' only check equality and '===' check type and equality 0 == '0' => true 0 === '0' => false

angular === vs ==