An angular directive to alias a variable