Better structure. AngularJS applications