<!--Footer-part-->
<!--end-Footer-part-->
<script src="js/jquery.min.js"></script>
<script src="js/jquery.ui.custom.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.uniform.js"></script>
<script src="js/select2.min.js"></script>
<script src="js/jquery.dataTables.min.js"></script>
<script src="js/matrix.js"></script>
<script src="js/matrix.tables.js"></script>
<script>
var app = angular.module('myApp1', []);
app.controller('myCtrl1', function($scope, $http) {
$http.get("https://restcountries.eu/rest/v1/currency/eur")
.success(function(data) {
$scope.countries = data;
console.log("countries:" + $scope.countries );
});
});
</script>
</body>
</html>
<!-- end snippet -->
What I have tried:
I have tried to fetch data from a URL using angularjs , i was able to fetch it but the problem is it is not coming in data-tables form.How to solve it.