You can register such a connector using ProjectSettings.modelViewConnectors.
Will be called when parsing typescript files, allows you to tell ng-typeview
about connections between scopes and views made in your code (whether the scope
is defined in a controller or a directive for instance).
When your view connector is registered and we parse a TS file and
ecounter an AST node with the type you specified through interceptAstNode,
this function will be called.
param
the typescript file name
param
the AST node which matched your specification
param
the path of the project on disk
returns
the controller-view connections that you detected for this node,
if any (the empty array if you didn't detect any).
You can register such a connector using ProjectSettings.modelViewConnectors. Will be called when parsing typescript files, allows you to tell ng-typeview about connections between scopes and views made in your code (whether the scope is defined in a controller or a directive for instance).