Modify AngularJS Best Practices