With options on page load how you can initialize a select box ?

Answer

You can initialize a select box with options on page load by using ng-init directive

  • <div ng-controller = “ apps/dashboard/account ” ng-switch
  • On = “! ! accounts” ng-init = “ loadData ( ) ”>

All angularjs Questions

Ask your interview questions on angularjs

Write Your comment or Questions if you want the answers on angularjs from angularjs Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---