add jshintrc, use angular interval service to avoid digest problems