AngularJS base.