Added loading directive, that shows loading animation