add html snippet (esp for angular.)