I'm trying to convert a Visualforce/Angular app into a Lightning app, which has translated well so far. The last hurdle is to utilize the Streaming API to track updates. I haven't found any samples and am wondering if this is possible. Or is it another case where Lightning security restrictions are limiting access, at least for now.
It looks like it is possible in Salesforce1, as evident of callouts by cometd. However, I'm not sure if that is accessible to developers. In particular I'm unclear on how to get the session Id that the tutorials for visualforce reference via the global variable ($Api).
If it is possible, could someone point me to an example?