Question: How can I add a close button to a draggable/resizable div? 

I understand that I am essentially describing a dialog, but I have to be able to take advantage of a few of the properties of resizable/draggable (such as containment) that are not a part of dialog.

Any ideas?

Answer: 
You can use multiple class names (a perfectly normal thing to do), but are only allowed one class attribute on your HTML element. 

Do this instead:

```
<a href="#" class="paren defaul">text</a>

```
Following on from RedFilters' answer you could of course extend your class selectors by using the [angular](https://angularjs.org/) ng-class attribute as follows: 

```html
<a href="#" class="paren defaul" ng-class="['tea', 'mat', 'thirs']">text</a>
```

The resulting html would then be: 

```html
<a href="#" class="paren defaul tea mat thirs">text</a>
```

Might come in useful to get around a tslint "line too long" error :-)