0
bilalhaidar created
Hello, How to include some jQuery plugins or angular plugins on specific pages and not all? I am using cshtml files in an MVC 5 / Angular 1.x app.
Thanks
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
3 Answer(s)
-
0
Hi,
Have you tried @Html.IncludeScript("PathToScriptFile") ?
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Nopes. I include that in the cshtml being rendered by Angular?
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi,
I haven't tried it but both approaches should work, what is the result of your try ?
Thanks.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)