Answer the question
In order to leave comments, you need to log in
AngularJS. Reusable html templates?
Hello!
AngularJS + ASP.NET Web API
The project has a lot of templates that differ slightly from each other. Creating one "universal" template, we come to the conclusion that it contains too much logic for displaying / hiding fields, rules for their validation, etc. Gradually, it turns into a difficult thing to maintain.
Is it possible to generate templates based on the schema described for each specific template and what is the best way to do this?
Answer the question
In order to leave comments, you need to log in
According to the concept of angular, repeating pieces of html must be placed in directives ...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question