Angular directive to check client OS.