Adds $compile so we can bind ng directives to our templates

We also removed the need for the $sce service and we now do not pass
strings from the controller and the directive. We also did some general
clean up so the code looks nicer