ovh-angular-line-diagnostics

2.1.2 • Public • Published

OVH component

NPM

Maintenance Chat on gitter Build Status Build Status

ovh-angular-line-diagnostic

Module to diagnose telecoms lines.

Dependencies

Note about URI.js bower dependency

In your main app bower.json file, you will need to override the uri.js main file. Simply add the following lines :

...
"overrides": {
    "uri.js": {
        "main": [
            "src/URI.min.js",
            "src/URITemplate.js"
        ]
    }
}
...

Because ovh-angular-line-diagnostic uses the expand method of URI.js that is not included into URI.js by default. If it doesn't work, try by adding the overrides section into your grunt-wiredep task.

Installation

Bower

bower install ovh-angular-line-diagnostics --save

NPM

npm install ovh-angular-line-diagnostics --save

Configuration

  1. Include ovh-angular-line-diagnostics.min.js in your app:

<script src="bower_components/ovh-angular-line-diagnostics/dist/ovh-angular-line-diagnostics.min.js"></script>

  1. Add ovh-angular-line-diagnostics as a new module dependency in your angular app.

var myapp = angular.module("myapp", ["ovh-angular-line-diagnostics"]);

  1. Add in you're HTML.
    <line-diagnostics data-line-number="{{ lineNumber }}"
                      data-service-name="{{ serviceName }}"></line-diagnostics>

Get the sources

    git clone https://github.com/ovh-ux/ovh-angular-line-diagnostics.git
    cd ovh-angular-line-diagnostics
    npm install
    bower install

You've developed a new cool feature ? Fixed an annoying bug ? We'd be happy to hear from you !

see CONTRIBUTING

Related links

License

See https://github.com/ovh-ux/ovh-angular-line-diagnostic/blob/master/LICENSE

Readme

Keywords

Package Sidebar

Install

npm i ovh-angular-line-diagnostics

Weekly Downloads

0

Version

2.1.2

License

BSD-3-Clause

Unpacked Size

998 kB

Total Files

59

Last publish

Collaborators

  • bnjjj
  • ovh
  • ovh-ux-cds