got working prototype of code injection. Working on porting it to angular