AngularJS directive test