[Fixed Position] Begin using proxies

Begin using proxies for elements in fixed position view,
WTD-879.
This commit is contained in:
Victor Woeltjen
2015-02-18 19:41:27 -08:00
parent f24f62dedc
commit cd98fd475d
3 changed files with 31 additions and 13 deletions

View File

@@ -5,14 +5,16 @@
<!-- Background grid -->
<div ng-repeat="cell in controller.getCellStyles()"
style="position: absolute; border: 1px gray solid; background: black;"
ng-click="controller.deselect()"
ng-style="cell">
</div>
<!-- Telemetry elements -->
<!-- Fixed position elements -->
<mct-include ng-repeat="element in controller.getDecoratedElements()"
style="position: absolute;"
ng-style="element.style"
key="element.template"
ng-style="element.style"
ng-click="controller.select(element)"
ng-model="element">
</mct-include>