Pergunta de entrevista da empresa Indecomm Global Services

in AngularJs , differnce between ng if , ng show , ng hide . from this point i started answering wrong a little .

Resposta da entrevista

Sigiloso

8 de jul. de 2017

interviewer guy told me that ng if is using for deleting the item . I was inside laughing 😂, becoz well a part of ng if atleast he knows . ng-if checks the senario first whether to add / show or hide / delete an item . ng show also has expression but only for evaluation whether it comes true then only it shows else hide . And for god sake nothing is deleted with ng if . everything remains in DOM . please try to understand the dom tree guys , please i request those two onterviewers