make it an angular app with directives