Project files to gitignore
Use angular.forEach instead of for..in for adding event listeners