expose wizard in SetupController
This commit is contained in:
@@ -247,6 +247,7 @@ app.controller('FinishController', ['$scope', '$location', 'Wizard', 'Client', f
|
||||
|
||||
app.controller('SetupController', ['$scope', '$location', 'Client', 'Wizard', function ($scope, $location, Client, Wizard) {
|
||||
$scope.initialized = false;
|
||||
$scope.wizard = Wizard;
|
||||
|
||||
// Stupid angular location provider either wants html5 location mode or not, do the query parsing on my own
|
||||
var search = decodeURIComponent(window.location.search).slice(1).split('&').map(function (item) { return item.split('='); }).reduce(function (o, k) { o[k[0]] = k[1]; return o; }, {});
|
||||
|
||||
Reference in New Issue
Block a user