how to check for null with a ng-if values in a view with angularjs?

后端 未结 4 590
难免孤独
难免孤独 2021-02-06 20:35

i have this situation

4条回答
  •  醉梦人生
    2021-02-06 21:24

    Here is a simple example that I tried to explain.

    Product Details


    Name: {{ product.name }}

    Price: {{ product.price | currency }}

    Description: {{ product.description }}

    *Product not found

提交回复
热议问题