To define proper url to Angular2 module, I defined "module_path" within drupalSettings based on current path's module, I used the following method inside "Ng2Block" class:
public function attachSettings(array $component)
Also I setup proper URL to "_ng2todo" template and style files by "drupalSettings",
drupalSettings.pdb.ng2.module_path
To define proper url to Angular2 module, I defined "module_path" within drupalSettings based on current path's module, I used the following method inside "Ng2Block" class:
public function attachSettings(array $component)
Also I setup proper URL to "_ng2todo" template and style files by "drupalSettings",
drupalSettings.pdb.ng2.module_path
Related with issue: #60