JSPM

angular-string-interpolation

0.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 12
  • Score
    100M100P100Q44230F
  • License MIT

A simple module that allows you to inject content into strings.

Package Exports

  • angular-string-interpolation

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (angular-string-interpolation) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

angular-string-interpolation

NOTE: Full documentation coming soon!

  • TODO: Add quick demo here with images or gif.
  • TODO: Add 'why'. (missing functionality from ES6 string literals)

Comments and Pull Requests welcome!

Contents

Installation

NPM

npm install angular-string-interpolation --save

Bower

bower install angular-string-interpolation --save

Dependencies

  • Angular.js (~1.4.0)

Usage

<bc-interpolate
  bc-string="Two incredibly useful libraries are {{0}} and {{1}}."
  bc-array="['lodash', 'moment']"
></bc-interpolate>

<!-- Output:
  Two incredibly useful libraries are lodash and moment.
-->

Development

  • npm run build - Build JS/CSS/HTML/SVG
  • npm run build:js - Build JS
  • npm run watch:js - Watch JS/HTML and rebuild on change
  • npm run watch - Watch JS/HTML and rebuild on change