AngularJS Tutorial #11 - ng-include directive

preview_player
Показать описание
----- COURSE LINKS:

---------------------------------------------------------------------------------------------
You can find more front-end development tutorials on CSS, HTML, JavaScript, jQuery, WordPress & more on the channel homepage...

========== JavaScript for Beginners Playlist ==========

============ CSS for Beginners Playlist =============

============== The Net Ninja =====================

================== Social Links ==================

Рекомендации по теме
Комментарии
Автор

I have been following your tutorials and I got to say I have been so impressed by the way you explain things that I can't wait for the next video being uploaded. You are an excellent teacher!

BiowallEu
Автор

I'm having an issue when using ng-include, where it only includes parts of the html and then stops some random place it seems. However, the place it stops rendering the html is the same place every time I reload the page. Any ideas why it is acting this way?

AllanLange
Автор

Re quotes: the way I am understanding this is that if I use src=, then a pair of quotes is for the src and the other pair is for the ng-include. I am not sure if I am right in this. In any case. I am finding trouble understanding why I still need two pairs of quotes when we use the ng-include inside the header tags.

CalibreAudio
Автор

the ng-include doesn't work for me either, and i've tried the suggestions in the comments

NateG
Автор

But JavaScript in the view that includes is not working. What to do??

username
Автор

ng-include isn't working for me :( When I inspect it in the browser, the line seems commented: <!-- ngInclude: 'header.html' -->

jeczybula
Автор

Great tutorial when you are Java dev but have a task to add some fixes in AngularJs :D

AndriusLauFullstack
Автор

Cool! So if your website has multiple html documents, you dont have add the css and copy + paste the code which tbh takes more time!

tastyl
Автор

Hi, I am following your tutorial but I have occurred a problem with ng-include..
I am including the file as you have explained in this video. But it is not working.
Can you help me with it.
<header ng-include="'header.html'">

</header>

ashbeelghouri
Автор

useful. but anyway stop yelling at the intro

priyandarshana