Add references to your angularjs package to the index.html file of your app.
Add references to your angularjs module to the index.html file of your app.
This plugin requires Grunt
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-angular-package --save-dev
This grunt task is meant to work in conjunction with the angular-package-loader.
At the bottom of your
index.html file, add the following above your
<!-- angular-package app/packages/myPackage --><!-- end-angular-package -->
In your project's Gruntfile, add a section named
angular-package to the data object passed into
gruntinitConfig"angular-package":app: indexFile: 'app/index.html'
To Stephen Sawchuk for fixing my regex.