F
F
frontender2016-08-17 16:16:19
Angular
frontender, 2016-08-17 16:16:19

Common model for multiple views in Angular?

Hello.
The question is:
I have several views and I need to change the data in the contenteditable on one view, the rest also change.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nicholas, 2016-08-17
@frontender

It is best to make a service that will be responsible for storing this data. And then it's pretty easy.
Data can only be changed by calling a method of this service.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question