Update index.html

Added factories