A sample module pattern for AngularJS