I want to display only Test Post 1
in next html page titleDetails.html
when user clicks Test Post 1
in index.html
a new scope variable in BlogController
$scope.postDetail = null;
and method titleDetails() be like
$scope.titleDetails = function(post) {
$scope.postDetail = post;
}
and also make change in index.html
{{ post.title }}