fix error with id in angular.js
course detail and link
cache data for course