Para criar uma tela baseado no template de execução serão necessários a criação de alguns arquivos, segue um exemplo de cada arquivo e sua explicação.
Para iniciar a tela de execução.
/*global define */
define(['index',
'/totvs-html-framework-sample/html/execution/execution.service.js',
'/totvs-html-framework-sample/html/execution/execution.controller.js'], function (index) {
'use strict';
index.stateProvider
.state('totvs-html-framework-sample/execution', {
abstract: true,
template: '<ui-view />'
})
.state('totvs-html-framework-sample/execution.start', {
url: '/totvs-html-framework-sample/execution/',
controller: 'totvs-html-framework-sample.execution.Control',
controllerAs: 'controller',
templateUrl: '/totvs-html-framework-sample/html/execution/execution.html'
});
});