Injecting selector object to the element