[CLC-1651] Fix deserialization error when fetching from cache, widget refactoring to use data-ng-bind