I am new in Angular.js and I am playing with it, I am getting an issue when passing the HTML content with $scope object. It returns as a string on browser.
Here what I am doing with my controller
function htmlCtrl($scope, $http,Project) {
$http.get('/content').success(function(data){
// data contains HTML value
$scope.projects=data;
});
}
And in HTML file I am doing this
body
div
div ng-view
/div
/div
!-- /container --
/body
Any help will be appreciated.