owncloud/music — pull request #159 by leizh (2014-03-09 10:27:48+00:00)
Title: Search provider

I am not familiar with AngularJS. If you think there is a better way to do this, let me know.
The playback of artists/albums/tracks is handled by the MainController while the playback by file is in PlayerController. PlayerController could handle all the playback requests by route change. In this case, the MainController would have only the "play" method for the template.