src/core/services/meta/meta.js
function mapExistingElement(name) {
      if (metaElements[name]) {
        return true;
      }

      var element = document.getElementsByName(name)[0];

      if (!element) {
        return false;
      }

      metaElements[name] = angular.element(element);

      return true;
    }
function mapExistingElement(name) {
      if (metaElements[name]) {
        return true;
      }

      var element = document.getElementsByName(name)[0];

      if (!element) {
        return false;
      }

      metaElements[name] = angular.element(element);

      return true;
    }
function mapExistingElement ( name ) { if ( metaElements [ name ] ) { return true ; } var element = document . getElementsByName ( name ) [ 0 ] ; if ( ! element ) { return false ; } metaElements [ name ] = angular . element ( element ) ; return true ; }
Checks if the requested element was written manually and maps it

@param {string} name meta tag 'name' attribute value
@returns {boolean} returns true if there is an element with the requested name
Checks if the requested element was written manually and maps it