add angular
add karma and tests dependencies
implement directive