angularjs-include-loader

0.1.1 • Public • Published

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>

Readme

Keywords

none

Package Sidebar

Install

npm i angularjs-include-loader

Weekly Downloads

25

Version

0.1.1

License

MIT

Unpacked Size

2.56 kB

Total Files

3

Last publish

Collaborators

  • alexdi