Set with snippets to using with AngularJS