mirror of
https://github.com/ansible/awx.git
synced 2026-01-29 07:14:43 -03:30
13 lines
300 B
JavaScript
13 lines
300 B
JavaScript
export default ['$http', function($http) {
|
|
return {
|
|
restrict: 'E',
|
|
link: function(scope, element, attrs) {
|
|
var path = attrs.href;
|
|
|
|
$http.get(path).then(function(response) {
|
|
element.append(response.data);
|
|
});
|
|
}
|
|
};
|
|
}]
|