Not much to it actually, as you only need Express to serve your Ionic app:
// server.js, Heroku will autostart this when found
var express = require('express'),
app = express();
app.use(express.static('www'));
app.set('port', process.env.PORT || 5000);
app.listen(app.get('port'), function () {
console.log('Express server listening on port ' + app.get('port'));
});