'use strict';

/**
 * @ngdoc filter
 * @name annotationAppApp.filter:replaceHtmlEntities
 * @function
 * @description
 * # replaceHtmlEntities
 * Filter in the annotationAppApp.
 */
angular.module('app')
	.filter('replaceHtmlEntities', function() {
		return function(input) {
			return $('<textarea />').html(input).text();
		};
	});