| Server IP : 103.234.187.230 / Your IP : 216.73.216.216 Web Server : Apache System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64 User : apache ( 48) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/b2b.hellogtx.com/public/js/ng/ |
Upload File : |
app.controller("FooterController", ["$scope", "$http", function( $scope, $http ) {
$scope.resultsetFooterLinks , $scope.resultsetSocialLinks , $scope.resultsetDestination , $scope.resultsetFooterCategory = [] , $scope.resultsetContactQuery = [];
$http({
method: 'GET',
url: conf.SITEURL + 'public/data/static/footer.json',
headers: {'Content-Type': 'application/json',
'Access-Control-Allow-Origin': '*',
'Access-Control-Allow-Methods': 'GET ',
'Access-Control-Allow-Headers': 'Content-Type, X-Requested-With', }
// cache: true
}).
then(function successCallback(response) {
$scope.resultsetSocialLinks = response.data.social_links;
$scope.resultsetFooterLinks = response.data.footer_links;
$scope.resultsetDestination = response.data.footer_destination;
$scope.resultsetFooterCategory = response.data.footer_category;
$scope.resultsetContactQuery = response.data.contactquery;
// console.log($scope.resultsetDestination);
}, function errorCallback(response) {
}). finally(function() {
});
$scope.lowercase = function(str) {
return angular.lowercase(str);
};
}]);