angular/angular.js — pull request #1227 by briceburg (2012-08-02 21:00:51+00:00)
Title: feat(ngInclude): childScope.$eval(onincludeExp)

Allow expressions to be evaluated against the included scope by passing them as the `onInclude` attribute.

This is similar to onload, but evaluates against the included's [child] scope vs. the directive's [parent] scope.

See: http://jsfiddle.net/briceburg/NMmyY/1/ as a demonstration.