Whenver I have an Angular expression as a value to input\'s type, it won\'t work:
input
type
This works for me.