simple analytics directives for angular