Fix scope of compilation for event handlers

(makes it possible for a handler to be defined in a custom directive's
controller)
Fix doctype in samples for the dojo
show itemTemplate
Merge branch 'master' into gh-pages