There is no direct way of binding angular to elements onload event as commonly the HTML elements onload="" attribute looks into ...
This Rails 3.1+ add-on lets you easily run a JavaScript function based on what controller and action is being loaded. Let's say ...