use controller as syntax in index.html