Question about templating

Hello folks!

I was watching some movies from angularJs and people puts templates in folder then the state machine load them into app. Atm i have 1 file Index with like 20 templates as is there possibility to copy them into separate files?