Answer the question
In order to leave comments, you need to log in
How to beautifully and correctly implement a modal window using Angular.js?
How to beautifully and correctly implement a modal window using Angular.js? The buttons called by the window are deep in the Dom tree, how to make it appear/disappear? Create a controller and wrap the entire body in it, or create a directive that will rely on a variable in the rootScope, something like $rootScope.visibleModal = true ?
Answer the question
In order to leave comments, you need to log in
There are several solutions here
Working with angular, bootstrap modal windows, how to work with AJAX correctly?
The second is to take the already existing ones ( angular-bootstrap , angular-material )
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question