Another simple example of manipulating the DOM using jQuery is to build a simple resizable component, called
resizebox here, analogous to the
resizable() method from the jQuery UI. Note that this example only has a demonstrative effect.
We will use the same code as in the previous example, since we already have our AngularJS application configured and running. Don't forget to keep the CSS and JS links to jQuery UI in the
<link rel="stylesheet" href="https://code.jquery.com/ui/1.11.4/themes/cupertino/jquery-ui.css"> <script src="https://code.jquery.com/ui/1.11.4/jquery-ui.min.js"></script>