qipp-services-template

    1.0.0 • Public • Published

    qipp-services-template Build Status npm version

    General

    The loadTemplate factory is simple template supplier based upon the $templateCache service and the $http one.

    Install

    npm i qipp-services-template

    Angular usage

    The loadTemplate() method is a promise, either relying on the $http one if the needed template had never been loaded before, or on the $templateCache one if not:

    loadTemplate('path/to/template').then(function (template) {
        // Do something with the template.
    })

    Tools

    Linting with StandardJS

    Please refer to the JavaScript Standard Style for general rules.

    npm run lint

    Unit testing with Karma

    npm test

    Requirements

    Angular

    Licence

    Released under the MIT license by qipp.

    Install

    npm i qipp-services-template

    DownloadsWeekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • avatar