Typeerror cannot read property pipe of undefined to equal undefined. getElementById('i1'); var i2 = document.