ng-switch-when

ng-switch ng-switch-when


01
02
03
04
05
06
07
08
09
10
11
<div ng-switch on="account.status">
    <div ng-switch-when="A">
        <img class="statusIcon" src='apps/index/Adot.png' />
    </div>
    <div ng-switch-when="B">
        <img class="statusIcon" src='apps/index/Bdot.png' />
    </div>
    <div ng-switch-when="C">
        <img class="statusIcon" src='apps/index/Cdot.png' />
    </div>
</div>
<div ng-switch on="account.status">
    <div ng-switch-when="A">
        <img class="statusIcon" src='apps/index/Adot.png' />
    </div>
    <div ng-switch-when="B">
        <img class="statusIcon" src='apps/index/Bdot.png' />
    </div>
    <div ng-switch-when="C">
        <img class="statusIcon" src='apps/index/Cdot.png' />
    </div>
</div>

ANIL SINGH

Hey! I'm Anil Singh. I author this blog. I'm Active Blogger, Programmer. I love learning new technologies, programming, blogging and participating the forum discussions more...
My Blogs - http://www.code-sample.com and http://www.code-sample.xyz
My Books - Google Amazon and Flipkart Book Store!

You Might Also Like
Post a Comment
www.code-sample.com/. Powered by Blogger.
ASK Questions
SQL Server NodeJs TypeScript JavaScript Angular SQL Server My Book