Add directive to fire an event when ng-repeat is done. Use this
directive to show a loading message to the user for the list of
files. We need this because large projects and lists of files take a
while to load.