updated angular html snippet