Adding AngularJS using template. Seems to be a better setup already.