starter.config(function ($stateProvider) { $stateProvider.state('workflow', { url: '/index', templateUrl: 'templates/workflow.html', controller: 'WorkFlowCtrl' }) .state('workflow-manage', { url: '/workflow-manage', templateUrl: 'templates/workflow-manage.html', controller: 'WorkFlowManageCtrl' }) .state('workflow-apply', { url: '/workflow-apply', templateUrl: 'templates/workflow-apply.html', controller: 'WorkFlowApplyCtrl' }) .state('workflow-templatecreate', { url: '/workflow-templatecreate', templateUrl: 'templates/workflow-templatecreate.html', controller: 'WorkFlowTemplateCreateCtrl' }) .state('workflow-templateitemset', { url: '/workflow-templateitemset/:id', templateUrl: 'templates/workflow-templateitemset.html', controller: 'WorkFlowTemplateItemSetCtrl' }) .state('workflow-templateitemfield', { url: '/workflow-templateitemfield/:id', templateUrl: 'templates/workflow-fieldtype.html', controller: 'FormFieldTypeCtrl' }) .state('workflow-templatedetail', { url: '/workflow-templatedetail/:id', templateUrl: 'templates/workflow-templatedetail.html', controller: 'WorkFlowTemplateDetailCtrl' }) });