function linkElement(compileData, options) {
          angular.extend(compileData.locals, options);

          var element = compileData.link(options.scope);

          // Search for parent at insertion time, if not specified
          options.element = element;
          options.parent = findParent(element, options);
          if (options.themable) $mdTheming(element);

          return element;
        }
Link an element with compiled configuration
@param {{element: JQLite=, link: Function, locals: Object, controller: Object=}} compileData
@param {Object} options
@return {JQLite}