initial implementation of angular.js on document details view