Answers

Question and Answer:

  Home  AngularJS Developer

⟩ Explain with options on page load how you can initialize a select box?

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 ( ) ”>

 163 views

More Questions for you: