call in directive is working