chieffancypants/angular-loading-bar — pull request #108 by osbornebrook (2014-09-10 13:32:27+00:00)
Title: Only append bar to the first body element

In the case where one is using an svg diagram with a foreign object element which contains it's own self-contained html DOM, the progress bar was being applied to all of them. Resulting in many loading bars.
This patch restricts the selector to only find one element, which will the first.