required use controller in index.html