adds basic angularjs directive stuff
adds event propagator