Davetest

For review of apps.js
control.html holds the reuse code for the template.
The type of device selected (from Controller.Type Enum) picks the control_*.html snippet to ng-include.
This allows device-specific UI behavior with shortest html snippet.