add index controller, angularjs