Scope digesting after creating element