[AngularJS] $uibModal issue after uglify

2018-10-20 Thread mtstoresec
I am using angularjs 1. When I invoke the "updateProfile" below, it would display a modal dialog: $scope.updateProfile = function(){ modalService.showModal({}, modalOptions).then(function (result) { //my code }); } angular.module('myApp') .service('modalService', ['$uibModal', function

[AngularJS] Re: How to live build an angular workspace project

2018-10-20 Thread Christophe HOARAU
Hi, Thanks for your advice, as I'm working with several app I need to use libraries to share code. Option 2 is almost what I'm using right now but I may need a lot more tweaks to be able to have an efficient solution. I'll give a try to option 1 but I'm not sure if this will works. Otherwise

[AngularJS] How to use http get response data for http post request in angularjs 1.7.2

2018-10-20 Thread drljacadusko
Hello, I am working on one project(AngularJS+PHP) where I use one database for users login (params about users/clients and their databases) and the other database for user/client(every user has own database). I want when I login in also connect to correct database I'm login in successfully with

[AngularJS] Re: How to live build an angular workspace project

2018-10-20 Thread Zlatko Đurić
Hi Christophe, I can think of two ways to go forward with this, both with some caveats. I'm not sure if it would be feasible or even advisable, but there might be a way to deal with this with custom tsconfig paths definitions. As you "ng generate" a library, it'll add a path to the dist folder