AngularJS directives for the Maxbox Javascript API