Simple pub app using AngularJS