I tried to parse json using below code but it is displaying a blank page.
var app = angular.module('myApp', []);
app.controller('myCtrl', function($scope, $http) {
$http.get("http:krispypapad.herokuapp.com/fetch_article").success(function (response) {
$scope.myWelcome = data.response;
});
});
I think there is typo with the URL you are using:
http:krispypapad.herokuapp.com
insteadhttp://krispypapad.herokuapp.com
you are missing a couple of//
This is how your code will look like: