Nuget in Visual Studio not installing templates folder for directive
I am using typehead directive in angular ui bootstrap which is expecting templates folder. I am managing it via nuget and nuget is not installing template folder.
@atul221282 it works as designed - you should not include individual template files but instead use a distribution file with all the templates embedded, see https://github.com/angular-ui/bootstrap/tree/gh-pages#build-files
@atul221282 The NuGet package contains ui-bootstrap.js and ui-bootstrap-tpls.js. ui-bootstrap.js doesn't contain compiled templates which lets you add your own, while the second one does contain templates as you can see here ui-bootstrap-tpls.js#L3802-4116
Thanks a lot @pkozlowski-opensource. @xt0rted thanks for your reply too but when i install or update ui bootsrap via nuget it is not installing the file you have given in ur link and does that mean that i always have to do this manually then.
What files are being added to your project? Version 0.11.0 should add the following
Scripts
└ angular-ui
├ ui-bootstrap-tpls.js
├ ui-bootstrap-tpls.min.js
├ ui-bootstrap.js
└ ui-bootstrap.min.js
@xt0rted I got it working. I un installed my AngularJS UI Bootstrap via nuget and re installed it again and got all the files u have mentioned above. I think it was just my project references getting confused earlier. Thanks once again.