Hi Nabaraj, that's a big subject!! and to be honest something that even I 
am straining at.

Check out the following:  ($compile, $interpolate)
https://docs.angularjs.org/guide/directive
https://docs.angularjs.org/api/ng/service/$interpolate
https://docs.angularjs.org/guide/compiler

This all comes together (and some more glue) to allow Directives to mod the 
DOM and implement bindings. Just like ng-model, these force the DOM to be 
compiled to support the new elements/binding/html templates etc.. I could 
spend a month going over all this! 

Regards,

Garry Taylor


On Monday, 19 May 2014 19:53:25 UTC+1, Nabaraj saha wrote:
>
> Hi Garry,
>
> Thanks for your reply. It is really a great tutorial for angularjs 
> directives. One thing which I feel that there can be example for Compile 
> Function which is a vital part in directives. Can you please give some 
> example?
>
> On Monday, May 19, 2014 1:51:32 PM UTC+5:30, Garry Taylor wrote:
>>
>> Hi Nabaraj, welcome to the Angularjs group!
>>
>> Check out the following, it's a great example of what JQuery/Directives 
>> can do: http://www.sitepoint.com/practical-guide-angularjs-directives/
>>
>> Let me know how you get on.
>>
>> Regards,
>>
>> Garry Taylor
>>
>> On Sunday, 18 May 2014 20:28:22 UTC+1, Nabaraj saha wrote:
>>>
>>> Hi All,
>>>
>>> May be it has been discussed before but please anyone show me a simple 
>>> directive to use simple jquery plugin. I am new with angularjs. So it will 
>>> be really helpful for me.
>>>
>>> Thanks in advance.
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to