Removed 'var' that was making the app variable used in appModule local