Refactored to move audio loading code to AngularJS Service