Add end-to-end tests for Angular directive

@settinghead @alex-deaconu @stulees