The 'main' property in bower.json should point to the .js file and not index.html. This allows build tools to reference the file directly (e.g https://github.com/taptapship/wiredep).