can render index template, but angular not working