fix angular html snippet