I am completely new to angularjs and I am trying to create one menu bar 
using angular material.
    
when I am writing code for menu bar directly in the .html file, it is 
working fine. But when I am trying to inject it from controller using 
custom angular directive, it's view get changed.
    
As I want to fetch all the menus from database it is necessary for me to 
write it in controller.
I have created plunker here 
<http://plnkr.co/edit/pWyxsa2NyMvJIqhciipy?p=preview>.

-- 
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to