ngBoxFill

Angular.js directive that scales the content of the element it is applied on to
fill the box of the element itself. It works by transcluding the descendants of
the directive into a into an inline element, taking its offsetWidth and
offsetHeight and calculating a scaling factor to fill the original element.
The aspect ratio of the scaled content is kept intact all the time.