AngularJS `directive` prove of concept