made the angular app use directivess