Hooking-up AngularJS to work