Demonstration how to use the dms.js library within angular.js