mrgamer/angular-audio-player — pull request #2 by kaidad (2013-09-12 23:08:46+00:00)
Title: fixing case where playlistOld is undefined

I ran into this issue when I simply removed the playlist from the scope. Doing so caused the watch to fire with an undefined 'playlistOld'. I added a simple check against 'playlistOld' to make sure it was defined before dereferencing it. Let me know if you have any questions or comments.

Thanks!
Dave