Add org Lookup implementation and WIP credential_type

This commit is contained in:
gconsidine
2017-06-23 16:13:54 -04:00
parent b7982bf202
commit 2fa4b3db5b
6 changed files with 117 additions and 40 deletions

View File

@@ -9,7 +9,7 @@ function atInputLookupLink (scope, element, attrs, controllers) {
inputController.init(scope, element, formController);
}
function AtInputLookupController (baseInputController, $state) {
function AtInputLookupController (baseInputController, $state, $stateParams) {
let vm = this || {};
let scope;
@@ -36,13 +36,15 @@ function AtInputLookupController (baseInputController, $state) {
params.selected = scope.state._value;
}
console.log(scope.state);
$state.go(scope.state._route, params);
};
}
AtInputLookupController.$inject = [
'BaseInputController',
'$state'
'$state',
'$stateParams'
];
function atInputLookup (pathService) {