Desperate dabbling with AngularJS.