made index.html have nested apps with controllers