publish to npm
now that angular* packages are on npm, this should be too!
+1
:+1: awesome!!
@btford - I understand the goal for symmetry of deployment. Here is question that illustrates my confusion:
It was my understanding the npm is is critical for NodeJS components and build tools/packages.
For client-side libraries, etc, I typically use bower. Since AngularJS is (currently) client-side framework, what is the reasoning for its installation via npm (in addition to bower)?
npm is just a package manager. It doesn't care where the code runs.
Why not also publish to npm and give users a choice of how to consume it?
Fair enough. Thx
Will this happen? :D

Please? Want all of my stuff to be from npm. Right now I'm just installing straight from git. Would love to not have to do that :-)
+1
+1
We'll do this with 0.7.1 release
OMG! Thanks @naomiblack :)
Thank you @naomiblack :+1:
Glad to hear it! Now that I'm bundling my dependencies, I'm looking forward to grabbing everything as a module.
Closing this issue since npm install angular-material now works. :) Note, however that I didn't get the readme updated, so the doc at npmjs.org is confusing/incorrect until we push 0.8. In the meantime, look here for instructions: https://github.com/angular/bower-material/blob/master/README.md
@naomiblack - I am reopening due to issues. Using npm install angular-material:
- Incorrectly installs globally (for me in
~/node_modules) - Does not install in a hidden
.node_modulesdirectory - Does not install the library dependencies
"dependencies": {
"angular": "1.3.x",
"angular-animate": "1.3.x",
"angular-aria": "1.3.x"
},
Note, I would recommend using peerDependencies rather than dependencies and be as loose as you can about it. For more info see: http://blog.nodejs.org/2013/02/07/peer-dependencies/ It will save consumers a great deal of headache when trying to use your package.
@ThomasBurleson
About 3: devDependencies are only installed if you directly run npm install inside the package directory. If you don't want this behavior, you should use npm install -d <package>.
@gustavohenke - under what scenarios would you want to install Angular Material but not the required AngularJS libraries?
I think I didn't understand your problem previously posted:
Does not install the dev dependencies
The bower.json located in the bower-material repository doesn't have any devDependencies; so why would that be a problem?
@gustavohenke - Now I understand. When NPM installs Angular Material, it should also install the required AngularJS libraries. I corrected the verbiage in my earlier comment.