angular-preventorphan is a simple Angular.js directive for preventing typographic orphans -- single-word lines at the end of paragraphs (or any other block-level text element).
This directive is based on Ilan Frumer's solution for watching transcluded content changes with interpolation. Thanks, Ilan!
JS:
var module = angular.module('myApp', ['ff.preventorphan']);
Markup:
<h1 prevent-orphan>Please don't let me wrap awkwardly</h1>