Closed AdamVig closed 9 years ago
Alternatively, the current method of rendering modules in the main view could be kept in place and interaction modules could be rendered exclusively at the end of the list. Arguments for this:
Arguments against this:
Options:
infoModule
and interactionModule
directives into dataModule
to allow for ng-repeat
behavior in the main view.
Currently, there is an
ng-repeat
that iterates over the list of selected modules and, for each selected module, creates and<info-module>
element that it populates with all of the data from the selected module.To add interaction modules, there will have to be a check of what type of module the selected module is, then the view will have to conditionally render either an
<info-module>
or an<interaction-module>
.