Initial rough implementation of AngularJS app architecture example