help with controller issue

15 views
Skip to first unread message

lalithatr...@gmail.com

unread,
Oct 19, 2016, 1:15:49 PM10/19/16
to Angular
hi all
i am new to angular js
the module and controller is not connected to html.
can you help me fixing this problem.
i am providing the link to the file.
i installed all the bower components 
thanks in advance
controller.txt

Sander Elias

unread,
Oct 19, 2016, 9:13:43 PM10/19/16
to Angular
Hi,

You didn't connect the two indeed. Here is a fixed plunk. If you have future questions, please use plunk(or something similar) to example your code, that makes it easier for people to answer.

in your code, you forgot to put a reference name on your controller. (the: "as $ctrl" in this case!) I added it for you, and you can see it working in the linked plunk

Regards
Sander

lalithatr...@gmail.com

unread,
Oct 20, 2016, 1:33:12 PM10/20/16
to Angular
hi sir
thank you so much.
Reply all
Reply to author
Forward
0 new messages