Set of loading directives to use with AngularJS