mirror of
https://github.com/ansible/awx.git
synced 2026-02-14 17:50:02 -03:30
13 lines
301 B
JavaScript
13 lines
301 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);
|
|
});
|
|
}
|
|
};
|
|
}];
|