Encapsulate app in an angular.js module