couch-potato with ui-router-2.0 and angualr.js-1.2.0

I make some change in couch-potato to make it work with ui-router-2.0
and angular.js-1.2.0