AngularJS boilerplate and workflow