Tuesday, August 26, 2014

Previous Interview Question Next Interview Question

How will you initialize a select box with options on page load?

Use the ng-init directive.

<div ng-controller="apps/dashboard/account" ng-switch
 on="!!accounts" ng-init="loadData()">

Previous Interview Question Next Interview Question


  1. Hey Brother,

    I love all the posts, I really enjoyed.
    I would like more information about this, because it is very nice., Thanks for sharing.

    Img 1: Starting the Home[Root URL] (Its will be working good)
    Img 2 : I am trying to refresh page without # URL that will be not working
    Img 3: Finally i am give the # in the URL It will be working.

    This error getting after moved into server

    By the way do you have any YouTube videos, would love to watch it. I would like to connect you on LinkedIn, great to have experts like you in my connection (In case, if you don’t have any issues).
    Please keep providing such valuable information.

    Many Thanks,