This is a simle example of how you can use knockout with jade runtime templates and amd(require.js). Inside templates you can use both ko binding system and jade's facilities.