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); });