{"version":"1.0","type":"rich","title":"Example of how you can test your AngularJS providers.","description":"This example demonstrates how to test AngularJS providers using the Karma test runner with Jasmine specifications. The code defines a simple configurable provider with a default value and setter method, then verifies both default and configured behaviors through injected instances. The provider exposes `getValue` and `throwValue` functions, which the specs check for expected output and error messages. Tests run in PhantomJS, with AngularJS and angular-mocks loaded as dependencies.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-5b4a01785273778fa78d73852426b555?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}