Angular directive based on fast-matcher