JQuery is an independent library, that can co-exist with other libraries like Anguila. Here some steps that enable a developer to use JQuery in a GUI extension.
Update your JQuery file to use the noConflict method and pass it to a variable called for instance $j.
Reference the updated JQuery file in a group of resources used by your GUI Extension.
<cfg:file type="script">/External/jquery-version.js</cfg:file>
Start using JQuery with the $j variable name or jQuery instead of $ which will be used for Anguila.
As a best practice withwhen you have more multiple GUI extensions that use JQuery, it does not make any sense to reference JQuery in each GUI Extension, in that case I would recommend to extend a Resources Group.
<cfg:extensiongroup name="JQueryGroup">
<cfg:extension target="Tridion.Web.UI.Controls.RibbonToolbar">
<cfg:insertafter>JQuery</cfg:insertafter>
</cfg:extension>
</cfg:extensiongroup>
<cfg:group name="JQuery">
<cfg:fileset>
<cfg:file type="script">/External/jquery-version.js</cfg:file>
</cfg:fileset>
</cfg:group>
<resourceextensions>
<resourceextension>JQueryGroup</resourceextension>
</resourceextensions>
Using that approach we will have JQuery always available for all our GUI Extensions.