From b680f5fa51d9fe2416369479012bc4575636b18c Mon Sep 17 00:00:00 2001 From: gustavo Date: Sat, 6 Feb 2016 13:44:25 +0100 Subject: [PATCH] AngularJS: cars.controller.js, upgrade bootstrap name spaces --- angularjs/showcase/src/showcase/app/cars/cars.controller.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/angularjs/showcase/src/showcase/app/cars/cars.controller.js b/angularjs/showcase/src/showcase/app/cars/cars.controller.js index dec4420..939075e 100644 --- a/angularjs/showcase/src/showcase/app/cars/cars.controller.js +++ b/angularjs/showcase/src/showcase/app/cars/cars.controller.js @@ -23,7 +23,7 @@ * CarsController controller. */ /* @ngInject */ - function CarsController($modal, $timeout, cars) { + function CarsController($uibModal, $timeout, cars) { var vm = this; vm.example = { @@ -94,7 +94,7 @@ vm.doModal = function (size) { var cars = ['car1', 'car2', 'car3']; // The modalInstance object will be seen from here and it will also be injected in CarsErrorModal controller - var modalInstance = $modal.open({ + var modalInstance = $uibModal.open({ animation: true, templateUrl: 'app/cars/cars-error-modal.html', controller: 'CarsErrorModalController as vm', -- 2.1.4