MapLoader constructor
Loads a template from a map.
It's passed a map of strings bound to template names. This loader is useful for testing.
var loader = MapLoader({'index.html': 'source here'})
Implementation
// TODO(loaders): comment that the map keys should be URI paths,
// like 'path/to/template.html'
const MapLoader(this.sources);