In an angular directive I am making a clone of the element that I want which is

```
var node= element[0].cloneNode(true);

```

then I want to add css to this element. I know you can do this

```
$(node).css({width: width, left: left, height: height, top:'0px'});

```

but I know it is bad practice to use this in an angular directive. I have tried

```
angular.node.css({width: width, left: left, height: height, top:'0px'});

```

but this does not work. I have scoured the internet and have found nothing. All I get is jquery ways. Does anyone know how to add css to an element the angular way?

To any help, thanks!