Angular - playing with custom directives