There is a task to make a class element common between two HTML files in AngularJS (directive inside HTML), or rather with a common instance of the class, so that the changes are visible in both files, since then this instance of the class goes to the back, and I use it and change it in the function on the front. In the same place, I used Function bindings and variable bindings as '&' and '=' , but I don’t know which one is needed for the class.
- Nothing is clear: add a minimal reproducible example so that you can see what is and what you want to get - Grundy
|