I'm using angularJS(v1.5.7) in my MVC application. During the development, we used the syntax bellow to make ajax calling::
$http({
method: 'GET',
url: "",
params: { }
}).success(function (data) {
...
}).finally(function () {
...
});
When I published my application on the server, I'm using bundle to minify my javascript files.
After that, I'm geting the error: ".success is not a function"
Does anybody knows why this issue happen only when I minify the files?