fix ng-modules and a typo of hook/index