AngularJS for Component, cookies module