Directive for importing variables into angular scope