Skip to content
Loading
What is the wrong in the below code? I can't find the error.
0
  • Hi,
    First of all , 
    If you want to access data from the angularjs controller ,
    then you have to create first a module in the angular js. then in side that create  the angular js controller. after creation of controller just assign the variables .then only you can bind the Data.
     
     
    Add the Angular Js CDN.
     
     Now Your Html Should be Like this

    Controller Example

    {{cust.name}} - {{cust.code}}
  • 0