[![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.
$ npm install --save-dev browser-sync-angular-template
// gulpfile.js
var browserSync = require('browser-sync');
var browserSyncAngularTemplate = require('browser-sync-angular-template');
browserSync.use(
browserSyncAngularTemplate({
templates: '/app/**/*.html',
indexJs: 'index.module.js',
moduleName: 'example'
})
);
browserSyncAngularTemplate(options)
Type: Object
Type: String
Pattern for templates files. They will be injected in runtime.
default: '**/*.html'
Type: String
Plugin injects the starting script in this file in runtime.
default: 'index.js'
Type: String
Module name. Used for get the access to required providers.
default: require(bower.json || package.json).name
- E2e tests.
- Test the proxy.
- Create a smart injector.
- Improve my english.
Apache-2.0 © Pavel Belugin