void ng.ready (Function func) vs. 1.1.0 Full+Lite

Execute a function func when the dom is ready. Similar to the onload event but runs before all the images are loaded. ng.ready(func) can be called as many times as needed and all the functions will be stacked for processing in the following order: First added first executed.

Parameters

Function func Required vs. 1.1.0 Full+Lite
The function which will be executed when the dom is ready.

Examples

Using ng.ready(func)
Demo:
This Div content will change when the page loads
This div will get a new div appended to it