/* eslint-disable no-undef, no-useless-escape, */ // TODO: This file was created by bulk-decaffeinate. // Fix any style issues and re-enable lint. 'use strict' Application.Services.service('CSRF', ['$cookies', $cookies => ({ setMetaTags () { if (angular.element('meta[name="csrf-param"]').length === 0) { angular.element('head').append('') angular.element('head').append(``) } else { angular.element('meta[name="csrf-token"]').replaceWith(``) } } }) ])