Beginning of AngularJS integration.