angular-resource to bower dependencies