The "Dependencies" subtab within the AngularJS tab which AngularJS Batarang gives us in Google Chrome Developer Tools is pretty interesting. It seems to give us a map of all dependencies for an AngularJS project:
Click on any one item to see afferent and efferent couplings. Above, $window has been clicked and a green line out to $position shows $window afferently coupled to $position as $position depends on at least $window. Clicking on $position, as seen below, we learn that it also depends on $document! Red lines out to $document and $window show us what $position is efferently coupled to.
No comments:
Post a Comment