L
L
lohmag2017-01-26 15:10:20
Angular
lohmag, 2017-01-26 15:10:20

How to build from different ng-view modules?

I started to make my first project on angular 1, a question arose, in the description of the framework it is written that all features should be designed as separate modules, for example, a module to issue product cards, a basket, etc.
Those. as I understand it, I make html once with all the headers and then fill the contents of the body with rendered templates using ng-view. But I managed to insert only one template into ng-view as in the description of the test application https://docs.angularjs.org/tutorial/step_09 i.e. they have one template inside the module, one page. But if in a complex application you need to combine modules on one page, how can you do this without rewriting the template every time?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry, 2017-08-14
@EnDeRJaY

In solution explorer select header files
Press Ctrl shift a
Select header file
Ok
Done

A
Amfore, 2017-08-14
@Amfore

C++ header files

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question