defining own scope for directive