Last post May 13, 2016 09:18 AM by Fei Han - MSFT
May 11, 2016 12:28 PM|sudip_inn|LINK
anyone can show me with sample code that when my custom directive will run then it will add a div into body. how it will be possible?
May 11, 2016 12:49 PM|Das.Sandeep|LINK
May 11, 2016 01:31 PM|sudip_inn|LINK
i want to design my directive in such a way that when i will click on button which is not a part of my custom directive then button click call my directive function and directive function check the div with id exist in page or not.......if a specific div
by id does not exist in page then function will append that to body. now tell me how could i call directive function from controller function?
May 13, 2016 09:18 AM|Fei Han - MSFT|LINK
now tell me how could i call directive function from controller function?
This article explained how to call a directive method from a controller with example, you could refer to it.