Cleaned up code to follow AngularJS Best Practices. Added Pub/Sub Channel for alternate solution