horizon/horizon/static/framework/widgets/wizard
Richard Jones f9b3bc7b2b Remove use of scope from action service
The scope being handed to (and retained on) the action
service was being used for two purposes:

1. handing data down to the underlying wizard steps, and
2. receiving data back from the underlying wizard steps.

This patch provides a mechanism for passing data down through
injection, and removes the need for event-based data return
by explicitly passing the captured wizard data to the submit()
resolution.

It also adds the controller scope to the allowed() and
perform() action service handlers to grant access to
contextual information without needing to attach state
to the service.

Change-Id: Ieb293d0a849cd84d15e7aae0a68558fde80fd2c2
Fixes-Bug: 1640049
2016-11-24 18:42:49 +11:00
..
modal-container.controller.js Update eslint-plugin-angular to the latest 2016-01-11 10:42:06 -08:00
wizard.controller.js Remove use of scope from action service 2016-11-24 18:42:49 +11:00
wizard.directive.js JSCS Cleanup - style guide cleanup for wizard 2015-07-23 15:16:23 +00:00
wizard.html Show wait spinner after submit of wizard modal 2016-08-17 04:33:58 -04:00
wizard.module.js Improving Horizon's angular module management: 2015-07-30 00:10:21 +00:00
wizard.spec.js Merge "allow hiding help-button for first ng workflow step" 2016-08-18 04:56:02 +00:00