Merge "Revert "Clean up $scope usage""
This commit is contained in:
commit
8de7b5b9ed
@ -60,12 +60,14 @@
|
|||||||
|
|
||||||
function initScope($scope) {
|
function initScope($scope) {
|
||||||
scope = $scope;
|
scope = $scope;
|
||||||
|
scope.workflow = createWorkflow;
|
||||||
|
scope.model = model;
|
||||||
scope.$on('$destroy', function() {
|
scope.$on('$destroy', function() {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function perform() {
|
function perform() {
|
||||||
model.init();
|
scope.model.init();
|
||||||
return wizardModalService.modal({
|
return wizardModalService.modal({
|
||||||
scope: scope,
|
scope: scope,
|
||||||
workflow: createWorkflow,
|
workflow: createWorkflow,
|
||||||
|
@ -59,12 +59,14 @@
|
|||||||
|
|
||||||
function initScope($scope) {
|
function initScope($scope) {
|
||||||
scope = $scope;
|
scope = $scope;
|
||||||
|
scope.workflow = createWorkflow;
|
||||||
|
scope.model = model;
|
||||||
scope.$on('$destroy', function() {
|
scope.$on('$destroy', function() {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function perform(selected) {
|
function perform(selected) {
|
||||||
model.init();
|
scope.model.init();
|
||||||
scope.selected = selected;
|
scope.selected = selected;
|
||||||
return wizardModalService.modal({
|
return wizardModalService.modal({
|
||||||
scope: scope,
|
scope: scope,
|
||||||
|
Loading…
Reference in New Issue
Block a user