Click here to Skip to main content
15,919,434 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Unable to install angularjs using bower.json in Visual Studio 2015 RC.

What should I use for package source in Options->NuGet Package Manager->Package Sources?



Have anyone done this, please share.

I have followed the article at: http://docs.asp.net/en/latest/client-side/angular.html
to add angular to bower.json file :
JavaScript
{
  "name": "ASP.NET",
  "private": true,
  "dependencies": {
    "bootstrap": "3.0.0",
    "jquery": "1.10.2",
    "jquery-validation": "1.11.1",
    "jquery-validation-unobtrusive": "3.2.2",
    "hammer.js": "2.0.4",
    "bootstrap-touch-carousel": "0.8.0",
    "angular": "*"
  }
}


But bower unable to install the package.
Posted
Updated 14-May-15 18:50pm
v3

1 solution

Bower now installs/restores angular and angular-route to my project

JavaScript
{
  "name": "ASP.NET",
  "private": true,
  "dependencies": {
    "bootstrap": "3.0.0",
    "jquery": "1.10.2",
    "jquery-validation": "1.11.1",
    "jquery-validation-unobtrusive": "3.2.2",
    "hammer.js": "2.0.4",
    "bootstrap-touch-carousel": "0.8.0",
    "angular": "*",
    "angular-route": "*"
  }
}



By adding angular and angular-route with "*" as version, bower installs angular.js version 1.3.15
and angular-route.js version 1.3.15

Also able to copy to wwwroot/lib using gulp
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900