Angular: Added a possibilty to change a value from outside the directive