html prototype to angular (beginning)