Refactoring the AngularJS scripts.