Create app directives and split up index.html into multiple templates