init angularJS index