Files
awx/awx/ui/static/js/shared/icon/include-svg.directive.js
Joe Fiorini b329f314c2 jshint fixes
2015-05-28 09:03:57 -04:00

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);
});
}
};
}];