sending attributes and parameters injected in scope controller