I am currently working on my first AngularJS app and my directories are setup like this
app/
assets/
<css, js, images etc...>
bower_components/
<various bower things>
components/
<controllers, directives etc. in sub folder components>
partials/
app-controller.js
app.css
index-async.html
index.html
node_modules/
<various node things>
test/
<karma>
bower.json
package.json
I am extremely confused as to how bower/node packages fit into this equation. I started this project using the angular-seed git repo, and have since modified the structure to match google's best practices structure.
The Angular seed project references files in the html by using "bower_components/component", but than it has the bower_components folder ignored in the .gitignore file. If the bower_components and the node components folders are ignored, than wouldnt it be bad to reference these in your html if they are not supposed to go along with the final product?