Added scope to directives