angularjs-include-loader
v0.1.1
Published
angular ng-include loader for webpack
Downloads
123
Readme
angularjs-include-loader
angular ng-include loader for webpack
If you use webpack and AngularJS ng-include directive, you may need this loader
Usage
{
test: /\.html$/,
use: [
{
loader: 'raw-loader'
},
{
loader: 'angularjs-include-loader'
}
]
}
Note: this loader resolves ng-include
only as attribute
<div ng-include="some/path.html" class="some-class"></div>
This will not work
<ng-include src="will not work"></ng-include>