In function onTap of directive headerFooterBar.js :
Why is the depth set to 3. Why do we want to check only 3 level for a element that is not to be scrolled. Could it not be more, and this should be in the documentation as well.
Please help me understand the logic.