Commit 0babc35762379bf5cf0d056118a998e597d949be
1 parent
6320d5a0ac
Exists in
master
fix compilacion
Showing
3 changed files
with
1 additions
and
25 deletions
Show diff stats
src/js/component.js
src/js/controller.js
1 | 1 | angular.module('focaBusquedaCliente') |
2 | - .controller('focaBusquedaClienteController', [ | |
3 | - '$scope', | |
4 | - '$uibModal', | |
5 | - function($scope, $uibModal) { | |
6 | - $scope.abrirModal = function() { | |
7 | - $uibModal.open({ | |
8 | - animation: false, | |
9 | - templateUrl: 'src/views/foca-busqueda-cliente-modal.html', | |
10 | - backdrop: false, | |
11 | - controller: 'focaBusquedaClienteModalController' | |
12 | - }).result.then(function(cliente){ | |
13 | - console.log(cliente); | |
14 | - }); | |
15 | - }; | |
16 | - } | |
17 | - ]) | |
18 | 2 | .controller('focaBusquedaClienteModalController', [ |
19 | - '$uibModalInstance', | |
20 | - 'focaBusquedaClienteService', | |
21 | - '$scope', | |
3 | + '$uibModalInstance', 'focaBusquedaClienteService', '$scope', | |
22 | 4 | function($uibModalInstance, focaBusquedaClienteService, $scope) { |
23 | 5 | $scope.obtenerClientesPorNombreOCuit = function(textoBusqueda) { |
24 | 6 | return focaBusquedaClienteService |
src/views/foca-busqueda-cliente.html
... | ... | @@ -1 +0,0 @@ |
1 | -<button ng-click="abrirModal()">Seleccionar cliente</button> |