I'd like to get this in an isolate scope, but I had to get rid of $compile because it was costly from a performance perspective.