Sample web application using AngularJS connecting to MarkLogic via MarkLogic REST API