Sample AngularJS based App with RESTful Authentication