In a ko template (abc.html) I have the following
<div data-mage-init='{"a_script":{} }'></div>.
I made sure that requirejs-config.js loaded the correct config
'a_script' : 'namespace/js/a_script'
and that "a_script.js" file exists. At runtime, abc.html gets loaded but the data-mage-init is not initialized or run.