Removed element.scope() calls by using the scope which we compile the  with