Adjusted AngularJS