0.1.1 • Published 6 years ago

angularjs-include-loader v0.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

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>