Angularjs integration with faye library-first cut