AngularJS directive labs