Refactored directives to add na prefix.
Added reference tags to typescript files.