From fe05d8dc9f7b3b8fdc02cf24fa6742c053bf8be1 Mon Sep 17 00:00:00 2001 From: Jose Pinto Date: Thu, 14 Feb 2019 11:17:17 -0300 Subject: [PATCH] fuera window.location.assign --- src/js/controller.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/js/controller.js b/src/js/controller.js index fa795d9..a532ff3 100644 --- a/src/js/controller.js +++ b/src/js/controller.js @@ -124,7 +124,9 @@ angular.module('focaAbmPreciosCondiciones') ); Promise.all(promises).then(function() { - $window.location.assign('/#!/precio-condicion'); + $timeout(function() { + $location.path('/precio-condicion'); + }, 0); }, function(err){ console.error(err); }); -- 1.9.1