How to use ng-if with table to display td based on the condition

前端 未结 3 1135
一整个雨季
一整个雨季 2021-01-02 07:53

With reference to the earlier post on ng-if within DIV for reference the link given here :: Ng-If within DIV , however when i tried the same with ng-if insi

3条回答
  •  我在风中等你
    2021-01-02 08:16

    Avoid using inside to adhere to better browser semantics. Moreover, when checking for equality '===' may be a better option, if you want to ensure the type of the value on the RHS of the equality expression.

    This works for both

    and
    individually

    //differnt template with hoot data
    //differnt template with story data
    //differnt template with article data

    http://jsfiddle.net/Mu6T6/3/

    提交回复
    热议问题