use angularjs to do data binding for gaggle output.