Fixed the stack overflow exception we were getting

I believe this was caused by the way AngularJS loads states. The
constant loading was initializing the Twitter feed and causing problems
when the code to initialize it was in main.html. Moving it to
index.html seems to have fixed the problem.