From a previous assignment (see #5), we saw when the invocations of those callbacks occurred and what arguments were passed to them with simple console.log() statements. From our review today, we saw how the call-stack was constructed and where in the code the arguments and callbacks are defined. Additionally, we discussed how "transcluded" scopes exist outside of the regular scope chain. Using our collaborating Directives that mimic the ng-view Directives:
Attempt to correlate the call-stack you constructed with the console.log() statements
Inspect the $scope and $element properties passed to the invoked callbacks
Create a diagram of the scope chain and the associated DOM elements
From a previous assignment (see #5), we saw when the invocations of those callbacks occurred and what arguments were passed to them with simple
console.log()
statements. From our review today, we saw how the call-stack was constructed and where in the code the arguments and callbacks are defined. Additionally, we discussed how "transcluded" scopes exist outside of the regular scope chain. Using our collaborating Directives that mimic theng-view
Directives:console.log()
statements$scope
and$element
properties passed to the invoked callbacks