added an example implemented using angular.js