hi all i am using angularjs http get method i get the values dynamically based on my loop but i am not able to get the value from http get help how to do this and solve the problem
for(i=0;i<4;i++){
var stream =i;
$http.get('/ViewGetBUMaterialStream/' + stream ).then(function (response) {
$scope.ViewStreams[i] = response.data;
});
}