top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

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

0 votes
594 views
With options on page load how you can initialize a select box ?
posted Dec 15, 2017 by Sathaybama

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

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 ( ) ”>
answer Dec 15, 2017 by Shivaranjini
...