call a control from an http request in angularjs [closed]

1

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?

    
asked by anonymous 25.11.2015 / 14:36

0 answers