Guest User

Untitled

a guest
Apr 5th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. $http.get(first.json)
  2. .then(function (response) {
  3. $scope.firstData = response.data;
  4. });
  5. //User JSON api
  6. $http.get(second.json)
  7.  
  8. .then(function (response1) {
  9. $scope.secondData = response1.data;
  10. });
  11.  
  12. $scope.dataReceived = function (response, response1) {
  13. $scope.firstData = response;
  14. $scope.secondData = response1
  15. };
Advertisement
Add Comment
Please, Sign In to add comment