Seaprating HTML from controller