I
I
Ilya2014-12-23 22:20:54
Angular
Ilya, 2014-12-23 22:20:54

How to split templates into separate files in AngularJS?

I work with angularJS and ionicframework. Tutorials everywhere tell how to work with a single display file. Question. How to correctly split all application pages into different files and correctly configure routing. Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
haiku, 2014-12-23
@haiku

https://github.com/angular-ui/ui-router/wiki ui-router guide
https://docs.angularjs.org/tutorial/step_07 default routing
guide it lies on the eye and you use it as described in the guides above.
For ionic, alas, I can’t say anything, since I didn’t work with it, apparently something for mobile applications.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question