browser-sync-angular-template
[![NPM version][npm-image]][npm-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage percentage][coveralls-image]][coveralls-url] [![Commitizen friendly][commitizen-image]][commitizen-url] > BrowserSync plugin for updating angular template without page reload.
Install
$ npm install --save-dev browser-sync-angular-template
Usage
// gulpfile.jsvar browserSync = ;var browserSyncAngularTemplate = ; browserSync;
API
browserSyncAngularTemplate(options)
options
Type: Object
templates
Type: String
Pattern for templates files. They will be injected in runtime.
default: '**/*.html'
indexJs
Type: String
Plugin injects the starting script in this file in runtime.
default: 'index.js'
moduleName
Type: String
Module name. Used for get the access to required providers.
default: require(bower.json || package.json).name
TODO
- E2e tests.
- Test the proxy.
- Create a smart injector.
- Improve my english.
License
Apache-2.0 © Pavel Belugin