Fixes bug in which 'rendered' callbacks registered on templates rendered through iron-router were overridden and lost when angular compile/digest cycle was incorporated.

This fix caches any registered 'rendered' callback and reapplies it after the angular compile/digest cycle is completed and then re-registers that callback on the template.