open-index/open-npm huggingface dataset:
npm package: @ovh-ux/ng-ovh-sso-auth
Description: OVH Single Sign On module
Author: OVH SAS
Latest version: 4.10.1

# ng-ovh-sso-auth

> OVH $http interceptor working with SSO. Can be used with $resource!

[![npm version](https://badgen.net/npm/v/@ovh-ux/ng-ovh-sso-auth)](https://www.npmjs.com/package/@ovh-ux/ng-ovh-sso-auth) [![Downloads](https://badgen.net/npm/dt/@ovh-ux/ng-ovh-sso-auth)](https://npmjs.com/package/@ovh-ux/ng-ovh-sso-auth) [![Dependencies](https://badgen.net/david/dep/ovh/manager/packages/components/ng-ovh-sso-auth)](https://npmjs.com/package/@ovh-ux/ng-ovh-sso-auth?activeTab=dependencies) [![Dev Dependencies](https://badgen.net/david/dev/ovh/manager/packages/components/ng-ovh-sso-auth)](https://npmjs.com/package/@ovh-ux/ng-ovh-sso-auth?activeTab=dependencies)

## Install

```sh
$ yarn add @ovh-ux/ng-ovh-sso-auth
```

# Usage

```js
import angular from 'angular';
import ngOvhSsoAuth from '@ovh-ux/ng-ovh-sso-auth';

angular
  .module('myApp', [ngOvhSsoAuth])
  .config(
    /* @ngInject */ ($httpProvider, constants, ssoAuthenticationProvider) => {
      ssoAuthenticationProvider.setLoginUrl(
        constants.prodMode ? constants.loginUrl : 'auth.html',
      );

      ssoAuthenticationProvider.setLogoutUrl(
        constants.prodMode
          ? '/engine/api/auth/logout'
          : 'api/proxypass/auth/logout',
      );

      ssoAuthenticationProvider.setUserUrl(
        constants.prodMode ? '/engine/api/me' : 'api/user',
      );

      const configuration = [
        {
          serviceType: 'api',
          urlPrefix: 'api',
        },
        {
          serviceType: 'aapi',
          urlPrefix: constants.prodMode ? '../2api-m' : '2api-m',
        },
        {
          serviceType: 'apiv6',
          urlPrefix: 'apiv6',
        },
      ];

      ssoAuthenticationProvider.setConfig(configuration);

      $httpProvider.interceptors.push('OvhSsoAuthInterceptor');
    },
  )
  .run(
    /* @ngInject */ (ssoAuthentication) => {
      ssoAuthentication.login().then(() => {
        // Do what you want after login.
      });
    },
  );
```

## Test

```sh
$ yarn test
```

## Related

- [@ovh-ux/ng-ovh-sso-auth-modal-plugin](https://github.com/ovh/manager/tree/master/packages/components/ng-ovh-sso-auth-modal-plugin) - OVH SSO module - Modal plugin

## Contributing

Always feel free to help out! Whether it's [filing bugs and feature requests](https://github.com/ovh/manager/issues/new) or working on some of the [open issues](https://github.com/ovh/manager/issues), our [contributing guide](https://github.com/ovh/manager/blob/master/CONTRIBUTING.md) will help get you started.

## License

[BSD-3-Clause](LICENSE) © OVH SAS
npm package: @ovh-ux/ng-ovh-sso-auth-modal-plugin
Description: OVH SSO module - Modal plugin
Author: OVH SAS
Latest version: 4.1.1
Deprecated: 4.x is no longer supported

# ng-ovh-sso-auth-modal-plugin

> Plugin for ng-ovh-sso-auth library.

[![npm version](https://badgen.net/npm/v/@ovh-ux/ng-ovh-sso-auth-modal-plugin)](https://www.npmjs.com/package/@ovh-ux/ng-ovh-sso-auth-modal-plugin) [![Downloads](https://badgen.net/npm/dt/@ovh-ux/ng-ovh-sso-auth-modal-plugin)](https://npmjs.com/package/@ovh-ux/ng-ovh-sso-auth-modal-plugin) [![Dependencies](https://badgen.net/david/dep/ovh/manager/packages/components/ng-ovh-sso-auth-modal-plugin)](https://npmjs.com/package/@ovh-ux/ng-ovh-sso-auth-modal-plugin?activeTab=dependencies) [![Dev Dependencies](https://badgen.net/david/dev/ovh/manager/packages/components/ng-ovh-sso-auth-modal-plugin)](https://npmjs.com/package/@ovh-ux/ng-ovh-sso-auth-modal-plugin?activeTab=dependencies)

## Install

```sh
$ yarn add @ovh-ux/ng-ovh-sso-auth-modal-plugin
```

## Usage

It overrides the ng-ovh-sso-auth's handleSwitchSession function,
to display a modal when user switch:
- from connected to disconnected
- from disconnected to connected
- from connected to connected with other

```js
import angular from 'angular';
import ngOvhSsoAuthModalPlugin from '@ovh-ux/ng-ovh-sso-auth-modal-plugin';

angular.module('myApp', [ngOvhSsoAuthModalPlugin]);
```

## Test

```sh
$ yarn test
```

## Related

- [@ovh-ux/ng-ovh-sso-auth](https://github.com/ovh/manager/tree/master/packages/components/ng-ovh-sso-auth) - OVH $http interceptor working with SSO

## Contributing

Always feel free to help out! Whether it's [filing bugs and feature requests](https://github.com/ovh/manager/issues/new) or working on some of the [open issues](https://github.com/ovh/manager/issues), our [contributing guide](https://github.com/ovh/manager/blob/master/CONTRIBUTING.md) will help get you started.

## License

[BSD-3-Clause](LICENSE) © OVH SAS
npm package: @ovh-ux/ng-ovh-stop-event
Description: Stop javascript event
Author: OVH SAS
Latest version: 2.0.1

# ng-ovh-stop-event

> Simply stop event

[![npm version](https://badgen.net/npm/v/@ovh-ux/ng-ovh-stop-event)](https://www.npmjs.com/package/@ovh-ux/ng-ovh-stop-event) [![Downloads](https://badgen.net/npm/dt/@ovh-ux/ng-ovh-stop-event)](https://npmjs.com/package/@ovh-ux/ng-ovh-stop-event) [![Dependencies](https://badgen.net/david/dep/ovh/manager/packages/components/ng-ovh-stop-event)](https://npmjs.com/package/@ovh-ux/ng-ovh-stop-event?activeTab=dependencies) [![Dev Dependencies](https://badgen.net/david/dev/ovh/manager/packages/components/ng-ovh-stop-event)](https://npmjs.com/package/@ovh-ux/ng-ovh-stop-event?activeTab=dependencies) [![Gitter](https://badgen.net/badge/gitter/ovh-ux/blue?icon=gitter)](https://gitter.im/ovh/ux)

## Install

```sh
$ yarn add @ovh-ux/ng-ovh-stop-event
```

## Usage

```js
import angular from 'angular';
import ngOvhStopEvent from '@ovh-ux/ng-ovh-stop-event';

angular.module('myApp', [ngOvhStopEvent]);
```

```html
<ANY data-ovh-angular-stop-event></ANY>
```

## Test

```sh
$ yarn test
```

## Contributing

Always feel free to help out! Whether it's [filing bugs and feature requests](https://github.com/ovh/manager/issues/new) or working on some of the [open issues](https://github.com/ovh/manager/issues), our [contributing guide](https://github.com/ovh/manager/blob/master/CONTRIBUTING.md) will help get you started.

## License

[BSD-3-Clause](LICENSE) © OVH SAS
npm package: @ovh-ux/ng-ovh-telecom-universe-components
Description: Telecom Universe Components
Author: OVH SAS
Latest version: 3.0.9
Deprecated: This package used to be published to be re-use across multiple git repositories. Please refer to our monorepo ovh/manager.

# ng-ovh-telecom-universe-components

> OVH Manager Telecom Universe Components

[![Downloads](https://badgen.net/npm/dt/@ovh-ux/ng-ovh-telecom-universe-components)](https://npmjs.com/package/@ovh-ux/ng-ovh-telecom-universe-components) [![Dependencies](https://badgen.net/david/dep/ovh-ux/ng-ovh-telecom-universe-components)](https://npmjs.com/package/@ovh-ux/ng-ovh-telecom-universe-components?activeTab=dependencies) [![Dev Dependencies](https://badgen.net/david/dev/ovh-ux/ng-ovh-telecom-universe-components)](https://npmjs.com/package/@ovh-ux/ng-ovh-telecom-universe-components?activeTab=dependencies) [![Gitter](https://badgen.net/badge/gitter/ovh-ux/blue?icon=gitter)](https://gitter.im/ovh/ux)

We extracted all the components of the [telecom control panel](https://github.com/ovh-ux/ovh-manager-telecom) in order to interconnect them
both in our upcoming [monorepo](https://github.com/ovh-ux/manager) but also in the current stack.

At the end we are planning remove this repository and privilege the management of sources directly
inside the monorepo.

## Install

```sh
yarn add @ovh-ux/ng-ovh-telecom-universe-components
```
## Usage

```js
import angular from 'angular';
import ngOvhTelecomUniverseComponents from '@ovh-ux/ng-ovh-telecom-universe-components';

angular
  .module('myApp', [
    ngOvhTelecomUniverseComponents,
  ]);
```

## Test

```sh
yarn test
```

## Related

* [ovh-manager-telecom](https://github.com/ovh-ux/ovh-manager-telecom) - OVH Control Panel Telecom UI

## Contributing

Always feel free to help out! Whether it's [filing bugs and feature requests](https://github.com/ovh-ux/ng-ovh-telecom-universe-components/issues/new) or working on some of the [open issues](https://github.com/ovh-ux/ng-ovh-telecom-universe-components/issues), our [contributing guide](CONTRIBUTING.md) will help get you started.

## License

[BSD-3-Clause](LICENSE) © OVH SAS
npm package: @ovh-ux/ng-ovh-timeline
Description: An Angular.js directive that generates a responsive, data-driven vertical timeline to tell a story, show history or describe a sequence of events.
Author: OVH SAS
Latest version: 2.1.7

# ng-ovh-timeline

> An Angular.js directive that generates a responsive, data-driven vertical timeline to tell a story, show history or describe a sequence of events.

[![npm version](https://badgen.net/npm/v/@ovh-ux/ng-ovh-timeline)](https://www.npmjs.com/package/@ovh-ux/ng-ovh-timeline) [![Downloads](https://badgen.net/npm/dt/@ovh-ux/ng-ovh-timeline)](https://npmjs.com/package/@ovh-ux/ng-ovh-timeline) [![Dependencies](https://badgen.net/david/dep/ovh/manager/packages/components/ng-ovh-timeline)](https://npmjs.com/package/@ovh-ux/ng-ovh-timeline?activeTab=dependencies) [![Dev Dependencies](https://badgen.net/david/dev/ovh/manager/packages/components/ng-ovh-timeline)](https://npmjs.com/package/@ovh-ux/ng-ovh-timeline?activeTab=dependencies)

## Install

```sh
yarn add @ovh-ux/ng-ovh-timeline
```

## Usage

```js
import angular from 'angular';
import ngOvhTimeline from '@ovh-ux/ng-ovh-timeline';

angular.module('myApp', [ngOvhTimeline]);
```

To define a timeline, do the following (either manually or using ng-repeat on a dataset.

```javascript
// in controller
$scope.events = [
  {
    badgeClass: 'info',
    badgeIconClass: 'glyphicon-check',
    title: 'First heading',
    content: 'Some awesome content.,',
  },
  {
    badgeClass: 'warning',
    badgeIconClass: 'glyphicon-credit-card',
    title: 'Second heading',
    content: 'More awesome content.,',
  },
];
```

```html
  <!-- view -->
  <timeline-event ng-repeat="event in events">
    <timeline-badge class="{{event.badgeClass}}">
      <i class="glyphicon {{event.badgeIconClass}}"></i>
    </timeline-badge>
    <timeline-panel class="{{event.badgeClass}}">
      <timeline-heading>
        <h4>{{event.title}}</h4>
      </timeline-heading>
      <p>{{event.content}}</p>
    </timeline-panel>
  </timeline-event>
```
There is a bit of markup here but `<timeline-heading>` is optional.
`<timeline-badge>` is for the centre line between the two sides, and should represent the event type that occured.

## Test

```sh
yarn test
```

## Contributing

Always feel free to help out! Whether it's [filing bugs and feature requests](https://github.com/ovh/manager/issues/new) or working on some of the [open issues](https://github.com/ovh/manager/issues), our [contributing guide](https://github.com/ovh/manager/blob/master/CONTRIBUTING.md) will help get you started.

## License

[BSD-3-Clause](LICENSE) © OVH SAS
npm package: @ovh-ux/ng-ovh-ui-confirm-modal
Description: Simple confirmation modal
Author: OVH SAS
Latest version: 2.1.7

# ng-ovh-ui-confirm-modal

> Simple confirmation modal

[![npm version](https://badgen.net/npm/v/@ovh-ux/ng-ovh-ui-confirm-modal)](https://www.npmjs.com/package/@ovh-ux/ng-ovh-ui-confirm-modal) [![Downloads](https://badgen.net/npm/dt/@ovh-ux/ng-ovh-ui-confirm-modal)](https://npmjs.com/package/@ovh-ux/ng-ovh-ui-confirm-modal) [![Dependencies](https://badgen.net/david/dep/ovh/manager/packages/components/ng-ovh-ui-confirm-modal)](https://npmjs.com/package/@ovh-ux/ng-ovh-ui-confirm-modal?activeTab=dependencies) [![Dev Dependencies](https://badgen.net/david/dev/ovh/manager/packages/components/ng-ovh-ui-confirm-modal)](https://npmjs.com/package/@ovh-ux/ng-ovh-ui-confirm-modal?activeTab=dependencies)

## Install

```sh
yarn add @ovh-ux/ng-ovh-ui-confirm-modal
```

## Usage

```js
import angular from 'angular';
import ngOvhUiConfirmModal from '@ovh-ux/ng-ovh-ui-confirm-modal';

angular.module('myApp', [ngOvhUiConfirmModal]);
```

```html
<div data-ng-controller="XdslModemResetCtrl as ResetCtrl">
    <button
        <!--
            data-ng-really-click: This parameter is required.
            `resetModem()` will be called if you accept the confimation message.
        -->
        data-ng-really-click="ResetCtrl.resetModem()"
        <!--
            data-ng-really-undo: This parameter is optional
            `undo()` will be called if you cancel the confimation message.
            data-ng-really-undo="ResetCtrl.undo()"
        -->
        data-ng-really-message="{{ 'xdsl_modem_reset_really' | translate }}"
        data-ng-really-confirm="{{ 'ok' | translate }}"
        data-ng-really-cancel="{{ 'cancel' | translate }}">
    </button>
</div>
```

## Test

```sh
yarn test
```

## Contributing

Always feel free to help out! Whether it's [filing bugs and feature requests](https://github.com/ovh/manager/issues/new) or working on some of the [open issues](https://github.com/ovh/manager/issues), our [contributing guide](https://github.com/ovh/manager/blob/master/CONTRIBUTING.md) will help get you started.

## License

[BSD-3-Clause](LICENSE) © OVH SAS
npm package: @ovh-ux/ng-ovh-uirouter-layout
Description: UiRouter Layout support
Author: OVH SAS
Latest version: 0.1.0

# ng-ovh-uirouter-layout

> Support layout:modal when using ui-router

[![Downloads](https://badgen.net/npm/dt/@ovh-ux/ng-ovh-uirouter-layout)](https://npmjs.com/package/@ovh-ux/ng-ovh-uirouter-layout) [![Dependencies](https://badgen.net/david/dep/ovh-ux/manager/packages/manager/modules/ng-ovh-uirouter-layout)](https://npmjs.com/package/@ovh-ux/ng-ovh-uirouter-layout?activeTab=dependencies) [![Dev Dependencies](https://badgen.net/david/dev/ovh-ux/manager/packages/manager/modules/ng-ovh-uirouter-layout)](https://npmjs.com/package/@ovh-ux/ng-ovh-uirouter-layout?activeTab=dependencies) [![Gitter](https://badgen.net/badge/gitter/ovh-ux/blue?icon=gitter)](https://gitter.im/ovh/ux)

## Install

```sh
yarn add @ovh-ux/ng-ovh-uirouter-layout
```
## Usage

```js
import angular from 'angular';
import ngOvhUiRouterLayout from '@ovh-ux/ng-ovh-uirouter-layout';

angular
  .module('myApp', [
    ngOvhUiRouterLayout,
  ]);
```

## Test

```sh
yarn test
```

## Contributing

Always feel free to help out! Whether it's [filing bugs and feature requests](https://github.com/ovh-ux/manager/issues/new) or working on some of the [open issues](https://github.com/ovh-ux/manager/issues), our [contributing guide](CONTRIBUTING.md) will help get you started.

## License

[BSD-3-Clause](LICENSE) © OVH SAS
npm package: @ovh-ux/ng-ovh-user-pref
Description: An AngularJS service to create/get/delete user preferences
Author: OVH SAS
Latest version: 2.1.7

# ng-ovh-user-pref

> An AngularJS service to create/get/delete user preferences.

[![npm version](https://badgen.net/npm/v/@ovh-ux/ng-ovh-user-pref)](https://www.npmjs.com/package/@ovh-ux/ng-ovh-user-pref) [![Downloads](https://badgen.net/npm/dt/@ovh-ux/ng-ovh-user-pref)](https://npmjs.com/package/@ovh-ux/ng-ovh-user-pref) [![Dependencies](https://badgen.net/david/dep/ovh/manager/packages/components/ng-ovh-user-pref)](https://npmjs.com/package/@ovh-ux/ng-ovh-user-pref?activeTab=dependencies) [![Dev Dependencies](https://badgen.net/david/dev/ovh/manager/packages/components/ng-ovh-user-pref)](https://npmjs.com/package/@ovh-ux/ng-ovh-user-pref?activeTab=dependencies)

## Install

```sh
$ yarn add @ovh-ux/ng-ovh-user-pref
```

## Usage

```js
import angular from 'angular';
import ngOvhUserPref from '@ovh-ux/ng-ovh-user-pref';

angular.module('myApp', [ngOvhUserPref]);
```

- Create an user preference on api.ovh.com.
- Merge an existing user preference on api.ovh.com.
- Get all keys of user preference for one user.
- Get user preference for a specific key.
- Delete an user preference for a specific key.

Format:
- The format of a key must be in uppercase, words separated by underscores `_`.
- Key name sample: (`COMMON_LANG`, `WEB_DOMAIN_FAVORITES`, `DEDICATED_DASHBOARD`, ...).

## Test

```sh
$ yarn test
```

## Related

- [ovh-api-services](https://github.com/ovh-ux/ovh-api-services) - Contains all AngularJS $resource for OVHcloud API

## Contributing

Always feel free to help out! Whether it's [filing bugs and feature requests](https://github.com/ovh/manager/issues/new) or working on some of the [open issues](https://github.com/ovh/manager/issues), our [contributing guide](https://github.com/ovh/manager/blob/master/CONTRIBUTING.md) will help get you started.

## License

[BSD-3-Clause](LICENSE) © OVH SAS
npm package: @ovh-ux/ng-ovh-utils
Description: [DEPRECATED] A collection of directives for AngularJS.
Author: OVH SAS
Latest version: 14.5.5

# ng-ovh-utils

> A collection of directives for AngularJS.

[![npm version](https://badgen.net/npm/v/@ovh-ux/ng-ovh-utils)](https://www.npmjs.com/package/@ovh-ux/ng-ovh-utils) [![Downloads](https://badgen.net/npm/dt/@ovh-ux/ng-ovh-utils)](https://npmjs.com/package/@ovh-ux/ng-ovh-utils) [![Dependencies](https://badgen.net/david/dep/ovh/manager/packages/components/ng-ovh-utils)](https://npmjs.com/package/@ovh-ux/ng-ovh-utils?activeTab=dependencies) [![Dev Dependencies](https://badgen.net/david/dev/ovh/manager/packages/components/ng-ovh-utils)](https://npmjs.com/package/@ovh-ux/ng-ovh-utils?activeTab=dependencies)

## Install

```sh
$ yarn add @ovh-ux/ng-ovh-utils
```

## Usage

```js
import angular from 'angular';
import ngOvhUtils from '@ovh-ux/ng-ovh-utils';

angular.module('myModule', [ngOvhUtils]);
```

## Test

```sh
$ yarn test
```

## Contributing

Always feel free to help out! Whether it's [filing bugs and feature requests](https://github.com/ovh/manager/issues/new) or working on some of the [open issues](https://github.com/ovh/manager/issues), our [contributing guide](https://github.com/ovh/manager/blob/master/CONTRIBUTING.md) will help get you started.

## License

[BSD-3-Clause](LICENSE) © OVH SAS
npm package: @ovh-ux/ng-ovh-web-universe-components
Description: Web Universe Components
Author: OVH SAS
Latest version: 6.0.1
Deprecated: This package used to be published to be re-use across multiple git repositories. Please refer to our monorepo ovh/manager.

# ng-ovh-web-universe-components

> OVH Manager Web Universe Components

[![Downloads](https://badgen.net/npm/dt/@ovh-ux/ng-ovh-web-universe-components)](https://npmjs.com/package/@ovh-ux/ng-ovh-web-universe-components) [![Dependencies](https://badgen.net/david/dep/ovh-ux/ng-ovh-web-universe-components)](https://npmjs.com/package/@ovh-ux/ng-ovh-web-universe-components?activeTab=dependencies) [![Dev Dependencies](https://badgen.net/david/dev/ovh-ux/ng-ovh-web-universe-components)](https://npmjs.com/package/@ovh-ux/ng-ovh-web-universe-components?activeTab=dependencies) [![Gitter](https://badgen.net/badge/gitter/ovh-ux/blue?icon=gitter)](https://gitter.im/ovh/ux)

We extracted all the components of the [web control panel](https://github.com/ovh-ux/ovh-manager-web) in order to interconnect them
both in our upcoming [monorepo](https://github.com/ovh-ux/manager) but also in the current stack.

At the end we are planning remove this repository and privilege the management of sources directly
inside the monorepo.

## Install

```sh
yarn add @ovh-ux/ng-ovh-web-universe-components
```
## Usage

```js
import angular from 'angular';
import ngOvhWebUniverseComponents from '@ovh-ux/ng-ovh-web-universe-components';

angular
  .module('myApp', [
    ngOvhWebUniverseComponents,
  ]);
```

## Test

```sh
yarn test
```

## Related

* [ovh-manager-web](https://github.com/ovh-ux/ovh-manager-web) - OVH Control Panel Web UI

## Contributing

Always feel free to help out! Whether it's [filing bugs and feature requests](https://github.com/ovh-ux/ng-ovh-web-universe-components/issues/new) or working on some of the [open issues](https://github.com/ovh-ux/ng-ovh-web-universe-components/issues), our [contributing guide](CONTRIBUTING.md) will help get you started.

## License

[BSD-3-Clause](LICENSE) © OVH SAS
npm package: @ovh-ux/ng-pagination-front
Description: Angular directive to paginate in front end
Author: OVH SAS
Latest version: 10.3.7

# ng-pagination-front

> AngularJS module for updating browser title based on the current ui-router state.

[![npm version](https://badgen.net/npm/v/@ovh-ux/ng-pagination-front)](https://www.npmjs.com/package/@ovh-ux/ng-pagination-front) [![Downloads](https://badgen.net/npm/dt/@ovh-ux/ng-pagination-front)](https://npmjs.com/package/@ovh-ux/ng-pagination-front) [![Dependencies](https://badgen.net/david/dep/ovh/manager/packages/components/ng-pagination-front)](https://npmjs.com/package/@ovh-ux/ng-pagination-front?activeTab=dependencies) [![Dev Dependencies](https://badgen.net/david/dev/ovh/manager/packages/components/ng-pagination-front)](https://npmjs.com/package/@ovh-ux/ng-pagination-front?activeTab=dependencies)

## Install

```sh
$ yarn add @ovh-ux/ng-pagination-front
```

## Usage

```js
import angular from 'angular';
import ngPaginationFront from '@ovh-ux/ng-pagination-front';

angular.module('myApp', [ngPaginationFront]);
```

## Test

```sh
$ yarn test
```

## Contributing

Always feel free to help out! Whether it's [filing bugs and feature requests](https://github.com/ovh/manager/issues/new) or working on some of the [open issues](https://github.com/ovh/manager/issues), our [contributing guide](https://github.com/ovh/manager/blob/master/CONTRIBUTING.md) will help get you started.

## License

[BSD-3-Clause](LICENSE) © OVH SAS
npm package: @ovh-ux/ng-payment-method
Description: OVH Payment Methods wrapper for angular
Author: OVH SAS
Latest version: 1.0.0-alpha.1

# Ovh Angular Payment Method

> Help you to get payment methods from different OVH APIs

[![Downloads](https://badgen.net/npm/dt/@ovh-ux/ng-payment-method)](https://npmjs.com/package/@ovh-ux/ng-payment-method) [![Dependencies](https://badgen.net/david/dep/ovh-ux/ng-payment-method)](https://npmjs.com/package/@ovh-ux/ng-payment-method?activeTab=dependencies) [![Dev Dependencies](https://badgen.net/david/dev/ovh-ux/ng-payment-method)](https://npmjs.com/package/@ovh-ux/ng-payment-method?activeTab=dependencies) [![Gitter](https://badgen.net/badge/gitter/ovh-ux/blue?icon=gitter)](https://gitter.im/ovh/ux)

## Install

```sh
yarn add @ovh-ux/ng-payment-method
```

## Usage

```js
import ovhAngularPaymentMethod from '@ovh-ux/ng-payment-method';

// add the ovhAngularPaymentMethod module as dependency of your angular project
angular
  .module('myApp', [
    ovhAngularPaymentMethod,
  ])
  .config((ovhPaymentMethodProvider, constants) => {
    // set the target - this will tell to the component which APIs the component needs to call
    ovhPaymentMethodProvider.setTarget(constants.target);
  });
```

## Test

```sh
yarn test
```

## Contributing

Always feel free to help out! Whether it's [filing bugs and feature requests](https://github.com/ovh-ux/ng-payment-method/issues/new) or working on some of the [open issues](https://github.com/ovh-ux/ng-payment-method/issues), our [contributing guide](CONTRIBUTING.md) will help get you started.

## License

[BSD-3-Clause](LICENSE) © OVH SAS
npm package: @ovh-ux/ng-q-allsettled
Description: Copy of kriskowal/q for ovh control panels
Author: OVH SAS
Latest version: 2.1.7

# ng-q-allsettled

> Copy of kriskowal/q for OVH control panels.

[![npm version](https://badgen.net/npm/v/@ovh-ux/ng-q-allsettled)](https://www.npmjs.com/package/@ovh-ux/ng-q-allsettled) [![Downloads](https://badgen.net/npm/dt/@ovh-ux/ng-q-allsettled)](https://npmjs.com/package/@ovh-ux/ng-q-allsettled) [![Dependencies](https://badgen.net/david/dep/ovh/manager/packages/components/ng-q-allsettled)](https://npmjs.com/package/@ovh-ux/ng-q-allsettled?activeTab=dependencies) [![Dev Dependencies](https://badgen.net/david/dev/ovh/manager/packages/components/ng-q-allsettled)](https://npmjs.com/package/@ovh-ux/ng-q-allsettled?activeTab=dependencies)

## Install

```sh
$ yarn add @ovh-ux/ng-q-allsettled
```

## Usage

```js
import angular from 'angular';
import ngQAllSettled from '@ovh-ux/ng-q-allsettled';

angular.module('myApp', [ngQAllSettled]);
```

## Test

```sh
$ yarn test
```

## Contributing

Always feel free to help out! Whether it's [filing bugs and feature requests](https://github.com/ovh/manager/issues/new) or working on some of the [open issues](https://github.com/ovh/manager/issues), our [contributing guide](https://github.com/ovh/manager/blob/master/CONTRIBUTING.md) will help get you started.

## License

[BSD-3-Clause](LICENSE) © OVH SAS
npm package: @ovh-ux/ng-tail-logs
Description: Poll a log API for displaying messages
Author: OVH SAS
Latest version: 2.2.6

# ng-tail-logs

> AngularJS tail logs module.

[![npm version](https://badgen.net/npm/v/@ovh-ux/ng-tail-logs)](https://www.npmjs.com/package/@ovh-ux/ng-tail-logs) [![Downloads](https://badgen.net/npm/dt/@ovh-ux/ng-tail-logs)](https://npmjs.com/package/@ovh-ux/ng-tail-logs) [![Dependencies](https://badgen.net/david/dep/ovh/manager/packages/components/ng-tail-logs)](https://npmjs.com/package/@ovh-ux/ng-tail-logs?activeTab=dependencies) [![Dev Dependencies](https://badgen.net/david/dev/ovh/manager/packages/components/ng-tail-logs)](https://npmjs.com/package/@ovh-ux/ng-tail-logs?activeTab=dependencies)

Poll a log API for displaying messages

## Install

```sh
$ yarn add @ovh-ux/ng-tail-logs
```

## Usage

```js
import angular from 'angular';
import ngTailLogs from '@ovh-ux/ng-tail-logs';

angular.module('myApp', [ngTailLogs]).controller(
  'MyCtrl',
  /* @ngInject */ ($q, TailLogs) => {
    this.logger = new TailLogs({
      source: () => $q.when('http://my-log-url'),
      delay: 2000,
    });
  },
);
```

```html
<div data-ng-controller="MyCtrl as $ctrl">
    <tail-logs>
        <div data-ng-repeat="log in $ctrl.logger.logs track by $index"
             data-ng-bind="log.message">
        </div>
    </tail-logs>
</div>
```

## Test

```sh
$ yarn test
```

## Contributing

Always feel free to help out! Whether it's [filing bugs and feature requests](https://github.com/ovh/manager/issues/new) or working on some of the [open issues](https://github.com/ovh/manager/issues), our [contributing guide](https://github.com/ovh/manager/blob/master/CONTRIBUTING.md) will help get you started.

## License

[BSD-3-Clause](LICENSE) © OVH SAS
npm package: @ovh-ux/ng-translate-async-loader
Description: Angular translate asynchronous loader
Author: OVH SAS
Latest version: 2.2.7

# ng-translate-async-loader

> AngularJS translate asynchronous loader

[![npm version](https://badgen.net/npm/v/@ovh-ux/ng-ovh-sso-auth)](https://www.npmjs.com/package/@ovh-ux/ng-ovh-sso-auth) [![Downloads](https://badgen.net/npm/dt/@ovh-ux/ng-ovh-sso-auth)](https://npmjs.com/package/@ovh-ux/ng-ovh-sso-auth) [![Dependencies](https://badgen.net/david/dep/ovh/manager/packages/components/ng-ovh-sso-auth)](https://npmjs.com/package/@ovh-ux/ng-ovh-sso-auth?activeTab=dependencies) [![Dev Dependencies](https://badgen.net/david/dev/ovh/manager/packages/components/ng-ovh-sso-auth)](https://npmjs.com/package/@ovh-ux/ng-ovh-sso-auth?activeTab=dependencies)

## Install

```sh
$ yarn add @ovh-ux/ng-translate-async-loader
```

## Usage

```js
import angular from 'angular';
import ngTranslateAsyncLoader from '@ovh-ux/ng-translate-async-loader';

angular.module('myApp', [ngTranslateAsyncLoader]);
```

## Test

```sh
$ yarn test
```

## Related

- [angular-translate-loader-partial](https://github.com/angular-translate/bower-angular-translate-loader-partial) - A plugin for Angular Translate

## Contributing

Always feel free to help out! Whether it's [filing bugs and feature requests](https://github.com/ovh/manager/issues/new) or working on some of the [open issues](https://github.com/ovh/manager/issues), our [contributing guide](https://github.com/ovh/manager/blob/master/CONTRIBUTING.md) will help get you started.

## License

[BSD-3-Clause](LICENSE) © OVH SAS
npm package: @ovh-ux/ng-ui-router-breadcrumb
Description: Display a breadcrumb based on the UI-Router state declaration.
Author: OVH SAS
Latest version: 1.4.3

# ng-ui-router-breadcrumb

> Display a breadcrumb based on the [UI-Router](https://ui-router.github.io/ng1/) state declaration.

[![npm version](https://badgen.net/npm/v/@ovh-ux/ng-ui-router-breadcrumb)](https://www.npmjs.com/package/@ovh-ux/ng-ui-router-breadcrumb) [![Downloads](https://badgen.net/npm/dt/@ovh-ux/ng-ui-router-breadcrumb)](https://npmjs.com/package/@ovh-ux/ng-ui-router-breadcrumb) [![Dependencies](https://badgen.net/david/dep/ovh/manager/packages/components/ng-ui-router-breadcrumb)](https://npmjs.com/package/@ovh-ux/ng-ui-router-breadcrumb?activeTab=dependencies) [![Dev Dependencies](https://badgen.net/david/dev/ovh/manager/packages/components/ng-ui-router-breadcrumb)](https://npmjs.com/package/@ovh-ux/ng-ui-router-breadcrumb?activeTab=dependencies)

## Install

```sh
yarn add @ovh-ux/ng-ui-router-breadcrumb
```
## Usage

### `breadcrumb` resolve

```js
import angular from 'angular';
import ngUiRouterBreadcrumb from '@ovh-ux/ng-ui-router-breadcrumb';
import uiRouter from '@uirouter/angularjs';

angular.module('myApp', [ngUiRouterBreadcrumb, uiRouter]).config(
  /* @ngInject */ ($stateProvider) => {
    $stateProvider.state('foo', {
      url: '/foo',
      template: '<h2>Foo</h2>',
      resolve: {
        breadcrumb() {
          return 'foo';
        },
      },
    });
  },
);
```

### `hideBreadcrumb` resolve

This is meant to be used if you want to hide the breadcrumb for some state but display it for some children.

```js
import angular from 'angular';
import ngUiRouterBreadcrumb from '@ovh-ux/ng-ui-router-breadcrumb';
import uiRouter from '@uirouter/angularjs';

angular.module('myApp', [ngUiRouterBreadcrumb, uiRouter]).config(
  /* @ngInject */ ($stateProvider) => {
    $stateProvider.state('foo', {
      url: '/foo',
      template: '<h2>Foo</h2>',
      resolve: {
        breadcrumb() {
          return 'foo';
        },
        hideBreadcrumb() {
          return true;
        },
      },
    });
  },
);
```

## Test

```sh
$ yarn test
```

## Related

- [@ovh-ux/ng-ui-router-layout](https://github.com/ovh/manager/tree/master/packages/components/ng-ui-router-layout) - Enhance UI-Router by adding a layout decorator to deal with an UI Bootstrap modal instance
- [@ovh-ux/ng-ui-line-progress](https://github.com/ovh/manager/tree/master/packages/components/ng-ui-router-line-progress) - Display a line progress between UI-Router transition hooks

## Contributing

Always feel free to help out! Whether it's [filing bugs and feature requests](https://github.com/ovh/manager/issues/new) or working on some of the [open issues](https://github.com/ovh/manager/issues), our [contributing guide](https://github.com/ovh/manager/blob/master/CONTRIBUTING.md) will help get you started.

## License

[BSD-3-Clause](LICENSE) © OVH SAS
npm package: @ovh-ux/ng-ui-router-layout
Description: Enhance UI-Router by adding a layout decorator to deal with an UI Bootstrap modal instance.
Author: OVH SAS
Latest version: 4.3.7

# ng-ui-router-layout

> Enhance [UI-Router](https://ui-router.github.io/ng1/) by adding a layout decorator.

[![npm version](https://badgen.net/npm/v/@ovh-ux/ng-ui-router-layout)](https://www.npmjs.com/package/@ovh-ux/ng-ui-router-layout) [![Downloads](https://badgen.net/npm/dt/@ovh-ux/ng-ui-router-layout)](https://npmjs.com/package/@ovh-ux/ng-ui-router-layout) [![Dependencies](https://badgen.net/david/dep/ovh/manager/packages/components/ng-ui-router-layout)](https://npmjs.com/package/@ovh-ux/ng-ui-router-layout?activeTab=dependencies) [![Dev Dependencies](https://badgen.net/david/dev/ovh/manager/packages/components/ng-ui-router-layout)](https://npmjs.com/package/@ovh-ux/ng-ui-router-layout?activeTab=dependencies)

## Install

```sh
$ yarn add @ovh-ux/ng-ui-router-layout
```
## Usage

### `modal` layout

This layout is now deprecated. Prefer using [`ouiModal` layout](ovh/manager/tree/master/packages/components/ng-ui-router-layout/src/oui-modal/README.md).

```js
// index.js
import angular from 'angular';
import ngUiRouterLayout from '@ovh-ux/ng-ui-router-layout';

angular.module('myApp', [ngUiRouterLayout]);
```

#### With controller and template

```js
// routing.js
import controller from './controller';
import template from './template.html';

$stateProvider.state('state.name', {
  url,
  views: {
    modal: {
      controller,
      template,
    },
  },
  layout: 'modal',
});
```

#### With component

```js
// routing.js
$stateProvider.state('state.name', {
  url,
  views: {
    modal: {
      component: 'awesomeModal',
    },
  },
  layout: 'modal',
});
```

#### With a component provider

```js
// routing.js
$stateProvider.state('state.name', {
  url,
  views: {
    modal: {
      componentProvider: (predicate) =>
        predicate
          ? 'awesomeModalForTruePredicate'
          : 'awesomeModalForFalsePredicate',
    },
  },
  layout: 'modal',
});
```

### `ouiModal` layout

See [ouiModal layout](src/oui-modal/README.md).


## Test

```sh
$ yarn test
```

## Related

- [@ovh-ux/ng-ui-router-breadcrumb](https://github.com/ovh/manager/tree/master/packages/components/ng-ui-router-breadcrumb) - Display a breadcrumb based on the UI-Router state declaration
- [@ovh-ux/ng-ui-line-progress](https://github.com/ovh/manager/tree/master/packages/components/ng-ui-router-line-progress) - Display a line progress between UI-Router transition hooks

## Contributing

Always feel free to help out! Whether it's [filing bugs and feature requests](https://github.com/ovh/manager/issues/new) or working on some of the [open issues](https://github.com/ovh/manager/issues), our [contributing guide](https://github.com/ovh/manager/blob/master/CONTRIBUTING.md) will help get you started.

## License

[BSD-3-Clause](LICENSE) © OVH SAS
npm package: @ovh-ux/ng-ui-router-line-progress
Description: Display a line progress between UI-Router transition hooks.
Author: OVH SAS
Latest version: 1.2.7
Deprecated: 1.x is no longer supported

# ng-ui-router-line-progress

> Display a line progress between UI-Router transition hooks.

[![npm version](https://badgen.net/npm/v/@ovh-ux/ng-ui-router-line-progress)](https://www.npmjs.com/package/@ovh-ux/ng-ui-router-line-progress) [![Downloads](https://badgen.net/npm/dt/@ovh-ux/ng-ui-router-line-progress)](https://npmjs.com/package/@ovh-ux/ng-ui-router-line-progress) [![Dependencies](https://badgen.net/david/dep/ovh/manager/packages/components/ng-ui-router-line-progress)](https://npmjs.com/package/@ovh-ux/ng-ui-router-line-progress?activeTab=dependencies) [![Dev Dependencies](https://badgen.net/david/dev/ovh/manager/packages/components/ng-ui-router-line-progress)](https://npmjs.com/package/@ovh-ux/ng-ui-router-line-progress?activeTab=dependencies)

## Install

```sh
$ yarn add @ovh-ux/ng-ui-router-line-progress
```

## Usage

```js
import angular from 'angular';
import ngUiRouterLineProgress from '@ovh-ux/ng-ui-router-line-progress';
import uiRouter from '@uirouter/angularjs';

angular.module('myApp', [ngUiRouterLineProgress, uiRouter]);
```

## Test

```sh
$ yarn test
```

## Related

- [@ovh-ux/ng-ui-router-breadcrumb](https://github.com/ovh/manager/tree/master/packages/components/ng-ui-router-breadcrumb) - Display a breadcrumb based on the UI-Router state declaration
- [@ovh-ux/ng-ui-router-layout](https://github.com/ovh/manager/tree/master/packages/components/ng-ui-router-layout) - Enhance UI-Router by adding a layout decorator to deal with an UI Bootstrap modal instance

## Contributing

Always feel free to help out! Whether it's [filing bugs and feature requests](https://github.com/ovh/manager/issues/new) or working on some of the [open issues](https://github.com/ovh/manager/issues), our [contributing guide](https://github.com/ovh/manager/blob/master/CONTRIBUTING.md) will help get you started.

## License

[BSD-3-Clause](LICENSE) © OVH SAS
npm package: @ovh-ux/ng-ui-router-title
Description: AngularJS module for updating browser title/history based on the current ui-router state.
Author: OVH SAS
Latest version: 3.1.7

# ng-ui-router-title

> AngularJS module for updating browser title based on the current ui-router state.

[![npm version](https://badgen.net/npm/v/@ovh-ux/ng-ui-router-title)](https://www.npmjs.com/package/@ovh-ux/ng-ui-router-title) [![Downloads](https://badgen.net/npm/dt/@ovh-ux/ng-ui-router-title)](https://npmjs.com/package/@ovh-ux/ng-ui-router-title) [![Dependencies](https://badgen.net/david/dep/ovh/manager/packages/components/ng-ui-router-title)](https://npmjs.com/package/@ovh-ux/ng-ui-router-title?activeTab=dependencies) [![Dev Dependencies](https://badgen.net/david/dev/ovh/manager/packages/components/ng-ui-router-title)](https://npmjs.com/package/@ovh-ux/ng-ui-router-title?activeTab=dependencies)

## Install

```sh
yarn add @ovh-ux/ng-ui-router-title
```

## Usage

```js
import angular from 'angular';
import '@ovh-ux/ng-ui-router-title';

angular.module('myApp', ['ngUirouterTitle']).config(
  /* @ngInject */ ($stateProvider) => {
    // When declaring your ui-router state, you can add a custom $title:
    $stateProvider.state('app.item', {
      url: '/app/item',
      resolve: {
        $title($stateParams, $translate) {
          return $translate.instant('item_description_', {
            name: $stateParams.id,
          });
        },
      },
    });
  },
);
```

## Test

```sh
yarn test
```

## Contributing

Always feel free to help out! Whether it's [filing bugs and feature requests](https://github.com/ovh/manager/issues/new) or working on some of the [open issues](https://github.com/ovh/manager/issues), our [contributing guide](https://github.com/ovh/manager/blob/master/CONTRIBUTING.md) will help get you started.

## License

[BSD-3-Clause](LICENSE) © OVH SAS
npm package: @ovh-ux/ng-uirouter-breadcrumb
Description: UiRouter breadcrumb
Author: OVH SAS
Latest version: 0.1.0

# ng-uirouter-breadcrumb


[![Downloads](https://badgen.net/npm/dt/@ovh-ux/ng-uirouter-breadcrumb)](https://npmjs.com/package/@ovh-ux/ng-uirouter-breadcrumb) [![Dependencies](https://badgen.net/david/dep/ovh-ux/manager/packages/components/ng-uirouter-breadcrumb)](https://npmjs.com/package/@ovh-ux/ng-uirouter-breadcrumb?activeTab=dependencies) [![Dev Dependencies](https://badgen.net/david/dev/ovh-ux/manager/packages/components/ng-uirouter-breadcrumb)](https://npmjs.com/package/@ovh-ux/ng-uirouter-breadcrumb?activeTab=dependencies) [![Gitter](https://badgen.net/badge/gitter/ovh-ux/blue?icon=gitter)](https://gitter.im/ovh/ux)

## Install

```sh
yarn add @ovh-ux/ng-uirouter-breadcrumb
```
## Usage

```js
import angular from 'angular';
import ngUirouterBreadcrumb from '@ovh-ux/ng-uirouter-breadcrumb';

angular
  .module('myApp', [
    ngUirouterBreadcrumb,
  ]);
```

## Test

```sh
yarn test
```

## Contributing

Always feel free to help out! Whether it's [filing bugs and feature requests](https://github.com/ovh-ux/manager/issues/new) or working on some of the [open issues](https://github.com/ovh-ux/manager/issues), our [contributing guide](CONTRIBUTING.md) will help get you started.

## License

[BSD-3-Clause](LICENSE) © OVH SAS
npm package: @ovh-ux/ng-uirouter-layout
Description: UiRouter Layout support
Author: OVH SAS
Latest version: 1.2.1

# ng-uirouter-layout

> Support layout:modal when using ui-router

[![Downloads](https://badgen.net/npm/dt/@ovh-ux/ng-uirouter-layout)](https://npmjs.com/package/@ovh-ux/ng-uirouter-layout) [![Dependencies](https://badgen.net/david/dep/ovh-ux/manager/packages/components/ng-uirouter-layout)](https://npmjs.com/package/@ovh-ux/ng-uirouter-layout?activeTab=dependencies) [![Dev Dependencies](https://badgen.net/david/dev/ovh-ux/manager/packages/components/ng-uirouter-layout)](https://npmjs.com/package/@ovh-ux/ng-uirouter-layout?activeTab=dependencies) [![Gitter](https://badgen.net/badge/gitter/ovh-ux/blue?icon=gitter)](https://gitter.im/ovh/ux)

## Install

```sh
yarn add @ovh-ux/ng-uirouter-layout
```
## Usage

```js
// index.js
import angular from 'angular';
import ngUiRouterLayout from '@ovh-ux/ng-uirouter-layout';

angular
  .module('myApp', [
    ngUiRouterLayout,
  ]);
```

### With controller and template

```js
// routing.js
import controller from './controller';
import template from './template.html';
...

  $stateProvider
    .state('state.name', {
      url,
      views: {
        modal: {
          controller,
          template
        },
      },
      layout: 'modal',
    });
```

### With component

```js
// routing.js
  $stateProvider
    .state('state.name', {
      url,
      views: {
        modal: {
          component: 'awesomeModal',
        },
      },
      layout: 'modal',
    });
```

### With a component provider

```js
// routing.js
  $stateProvider
    .state('state.name', {
      url,
      views: {
        modal: {
          componentProvider: 
            predicate => predicate 
              ? 'awesomeModalForTruePredicate' 
              : 'awesomeModalForFalsePredicate',
        },
      },
      layout: 'modal',
    });
```

## Contributing

Always feel free to help out! Whether it's [filing bugs and feature requests](https://github.com/ovh-ux/manager/issues/new) or working on some of the [open issues](https://github.com/ovh-ux/manager/issues), our [contributing guide](CONTRIBUTING.md) will help get you started.

## License

[BSD-3-Clause](LICENSE) © OVH SAS
npm package: @ovh-ux/ng-uirouter-line-progress
Description: UiRouter line progress
Author: OVH SAS
Latest version: 0.1.0

# ng-uirouter-line-progress


[![Downloads](https://badgen.net/npm/dt/@ovh-ux/ng-uirouter-line-progress)](https://npmjs.com/package/@ovh-ux/ng-uirouter-line-progress) [![Dependencies](https://badgen.net/david/dep/ovh-ux/manager/packages/components/ng-uirouter-line-progress)](https://npmjs.com/package/@ovh-ux/ng-uirouter-line-progress?activeTab=dependencies) [![Dev Dependencies](https://badgen.net/david/dev/ovh-ux/manager/packages/components/ng-uirouter-line-progress)](https://npmjs.com/package/@ovh-ux/ng-uirouter-line-progress?activeTab=dependencies) [![Gitter](https://badgen.net/badge/gitter/ovh-ux/blue?icon=gitter)](https://gitter.im/ovh/ux)

## Install

```sh
yarn add @ovh-ux/ng-uirouter-line-progress
```
## Usage

```js
import angular from 'angular';
import ngUirouterLineProgress from '@ovh-ux/ng-uirouter-line-progress';

angular
  .module('myApp', [
    ngUirouterLineProgress,
  ]);
```

## Test

```sh
yarn test
```

## Contributing

Always feel free to help out! Whether it's [filing bugs and feature requests](https://github.com/ovh-ux/manager/issues/new) or working on some of the [open issues](https://github.com/ovh-ux/manager/issues), our [contributing guide](CONTRIBUTING.md) will help get you started.

## License

[BSD-3-Clause](LICENSE) © OVH SAS
npm package: @ovh-ux/ng-uirouter-title
Description: AngularJS module for updating browser title/history based on the current ui-router state.
Author: OVH SAS
Latest version: 2.0.0

# ng-uirouter-title

> AngularJS module for updating browser title based on the current ui-router state.

[![Downloads](https://badgen.net/npm/dt/ng-uirouter-title)](https://npmjs.com/package/@ovh-ux/ng-uirouter-title) [![Dependencies](https://badgen.net/david/dep/ovh-ux/ng-uirouter-title)](https://npmjs.com/package/@ovh-ux/ng-uirouter-title?activeTab=dependencies) [![Dev Dependencies](https://badgen.net/david/dev/ovh-ux/ng-uirouter-title)](https://npmjs.com/package/@ovh-ux/ng-uirouter-title?activeTab=dependencies) [![Gitter](https://badgen.net/badge/gitter/ovh-ux/blue?icon=gitter)](https://gitter.im/ovh/ux)

## Install

```sh
yarn add @ovh-ux/ng-uirouter-title
```

## Usage

```js
import angular from 'angular';
import '@ovh-ux/ng-uirouter-title';

angular
  .module('myApp', [
    'ngUirouterTitle',
  ])
  .config(/* @ngInject */ ($stateProvider) => {
    // When declaring your ui-router state, you can add a custom $title:
    $stateProvider.state('app.item', {
      url: '/app/item',
      resolve: {
        $title($stateParams, $translate) {
          return $translate.instant('item_description_', { name: $stateParams.id });
        },
      },
    });
  });
```

## Test

```sh
yarn test
```

## Contributing

Always feel free to help out! Whether it's [filing bugs and feature requests](https://github.com/ovh-ux/ng-uirouter-title/issues/new) or working on some of the [open issues](https://github.com/ovh-ux/ng-uirouter-title/issues), our [contributing guide](CONTRIBUTING.md) will help get you started.

## License

[BSD-3-Clause](LICENSE) © OVH SAS
npm package: @ovh-ux/ovh-angular-contracts
Description: Component to correctly show contracts in OVH control panels
Author: OVH SAS
Latest version: 3.0.0-beta.0

# ovh-angular-contracts

> OVH Angular Contracts Module

[![Downloads](https://badgen.net/npm/dt/ovh-angular-contracts)](https://npmjs.com/package/ovh-angular-contracts) [![Dependencies](https://badgen.net/david/dep/ovh-ux/ovh-angular-contracts)](https://npmjs.com/package/ovh-angular-contracts?activeTab=dependencies) [![Dev Dependencies](https://badgen.net/david/dev/ovh-ux/ovh-angular-contracts)](https://npmjs.com/package/ovh-angular-contracts?activeTab=dependencies) [![Gitter](https://badgen.net/badge/gitter/ovh-ux/blue?icon=gitter)](https://gitter.im/ovh/ux)

Component to correctly show contracts in OVH control panel

## Install

```sh
yarn add @ovh-ux/ovh-angular-contracts
```

## Usage

```js
import 'angular';
import '@ovh-ux/ovh-angular-contracts';

angular
  .module('myApp', [
    …,
    'ovhAngularContracts';
    …,
  ]);
```

## Test

```sh
yarn test
```

## Contributing

Always feel free to help out! Whether it's [filing bugs and feature requests](https://github.com/ovh-ux/ovh-angular-contracts/issues/new) or working on some of the [open issues](https://github.com/ovh-ux/ovh-angular-contracts/issues), our [contributing guide](CONTRIBUTING.md) will help get you started.

## License

[BSD-3-Clause](LICENSE) © OVH SAS
npm package: @ovh-ux/ovh-reket
Description: Expose a way to get a predefined Reket instance
Author: OVH SAS
Latest version: 2.1.28

# ovh-reket
> Provides a centralized predefined Reket configuration.

## Methods
### useReket(enableSsoAuth = true, requestTypes = 'default')
```js
import { useReket } from '@ovh-ux/ovh-reket';

const reketInstance = useReket();
// use your Reket instance
reketInstance.get('/my/url').then((response) => {
  console.log(response);
});
```
#### Parameters

##### enableSsoAuth

Type: `boolean` - default: `true`

Configure response error hook to handle ssoAuth. This handle logout and redirection to login page in case of non authenticated user.

##### requestTypes

Type: `array|string` - default: `'default'`

Configure the instance with predefined request types. Can be an array of objects (see Reket configuration) or a string with value `'default'` which set the requests types used within the manager.

#### ssoAuthHookFn

It's also possible to get the function used to handle ssoAuth redirections. Useful if you need to wrap your response with `$q` in angularJS for example. This method is used internaly by `useReket` methods when `enableSsoAuth` param is `true`.

```js
import angular from 'angular';
import { useReket, ssoAuthHookFn } from '@ovh-ux/ovh-reket';

angular.service('MyService', ($q) => {
  const reketInstance = useReket();
  const responseErrorHook = (error) => {
    return ssoAuthHookFn(error).catch((hookFnError) => $q.reject(hookFnError));
  };

  reketInstance.config.hooks.response.set(null, responseErrorHook);

  // use your Reket instance
  reketInstance
    .get('/my/url')
    .then((response) => {
      console.log(response);
    })
    .catch((error) => {
      console.log(error);
    })
    .finally(() => {
      console.log('called after then or catch');
    });
});
```