An AngularJS boilerplate code for structuring SPAs with commonjs pattern