How can I call a control file from an http (get) request
$http({
method: 'GET',
url: 'dashboard.do'
}).then(function successCallback(response) {
// this callback will be called asynchronously
// when the response is available
$("#conteudo").html(response.data);
}, function errorCallback(response) {
// called asynchronously if an error occurs
// or server returns response with an error status.
});
When I call the dashboard angularjs does not work on it, how can I resolve the situation?