# Some routing questions using angular

**URL:** <https://forum.freecodecamp.org/t/some-routing-questions-using-angular/77137>\
**Category:** General\
**Created:** [January 16, 2017, 11:33am UTC](https://forum.freecodecamp.org/t/some-routing-questions-using-angular/77137 "2017-01-16T11:33:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shin8](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/shin8/32/162313_2.png) [@Shin8](https://forum.freecodecamp.org/u/Shin8)\
**Post date:** [January 16, 2017, 11:33am UTC](https://forum.freecodecamp.org/t/some-routing-questions-using-angular/77137/1 "2017-01-16T11:33:35Z")

</div>

Hi guys! I have a question about the routing angular does. I’m trying to load pieces of HTML using it’s ngRoute module but I want to keep my HTML files private and serve them using express/node’s routing. Is that possible? Like I mentioned before, I don’t want to give public access to the HTML files. I don’t want to load the whole view either (I mean everything, all the views) and then just make the divs visible/invisible, for obvious reasons. Another reason I want to do this is because of authentication (I’m doing the voting app). If it’s possible, what kind of HTTP method should I use to serve these files?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Shin8](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/shin8/32/162313_2.png) [@Shin8](https://forum.freecodecamp.org/u/Shin8)\
**Post date:** [January 16, 2017, 1:17pm UTC](https://forum.freecodecamp.org/t/some-routing-questions-using-angular/77137/2 "2017-01-16T13:17:07Z")

</div>

Nevermind, I was able to solve it

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 16, 2021, 5:10pm UTC](https://forum.freecodecamp.org/t/some-routing-questions-using-angular/77137/3 "2021-01-16T17:10:28Z")

</div>

Closed on January 16, 2021, 5:10pm UTC


