First attempt at wiring in angular.js