minor code styles clean ups to appease jshint
moved update function to inside controller, now getting deps via closure
replaced window.setInterval with angular's $interval wrapper
ignored web storm files