{{str}}
{{str | removeTag}}
angular.module('myApp', []) .controller('Ctrl', ['$scope', function ($scope) { $scope.str = 'sample text'; }]) .filter('removeTag', function () { return function (str) { return angular.element(str).text(); }; });
<h1>フィルターなし</h1> <p>{{str}}</p> <h1>フィルターあり</h1> <p>{{str | removeTag}}</p>