The problem is in the way you are declaring your controller. You should do it like shown below:
app.controller("PostController",["$scope", function($scope) {
$scope.posts = [
{"title":"asdf", "description":"describe"},
{"title":"second one", "description":"second describe"},
];
}]);
Please notice that the second argument is an array with both a $scope
string and a function as array's elements. This is a proper syntax to be used to write minification-safe code.