Remove some AngularJS boilerplate