if Meteor.isClient
Session.setDefault('app.ports', ['test'])
Template.content.helpers(
app: ->
ports: Session.get('app.ports')
<head>
<title>Template Fail ><</title>
</head>
<body>
{{> content }}
</body>
<template name="content">
<select>
{{#each port in app.ports}}
<option>{{port}}</option>
{{/each}}
</select>
</template>
Uncaught Error: No such function: port