MathBox directive for angular