Some directives helpers for angular