Adding Jasmine Sample
How to expose functionality