In this example we are integrating a 3rd party jQuery plugin (select2) by wrapping it inside a custom directive.