chore(cuts files) save code sniblets for various files
feat(goToOnSpace) change window.location.href to $state.go()

Also, change ng-keypress to data-ng-keypress, and minor formatting.